views:

60

answers:

1

ifconfig -output is somewhat messy thing to look at. When I saw the nice output below with the command (source), the question emerged:

Is there some more structured way, let say MySQL, to look at ifconfig or similar data?

It would be cool, if I could monitor the network traffic in databases.

[prompt]$ mysqladmin -h localhost -u root -p processlist

+----+------+-----------+----+---------+------+-------+------------------+
| Id | User | Host      | db | Command | Time | State | Info             |
+----+------+-----------+----+---------+------+-------+------------------+
| 15 | root | localhost |    | Query   | 0    |       | show processlist |
+----+------+-----------+----+---------+------+-------+------------------+
+1  A: 

MySQL GUI Tools and administrator tools allow you to monitor to some extent. if you want raw packets, you can either use Ethereal or Wireshark

Ram