Monitoring

dstat

dstat is the best and simplest way to monitor everything in linux. ali@silken:~$ dstat -tams -Dsda -Nwlan1 ----system---- ----total-cpu-usage---- --dsk/sda-- -net/wlan1- ---paging-- ---system-- ------memory-usage----- ----swap--- time |usr sys idl wai hiq siq| read writ| recv send| in out | int csw | used buff cach free| used free 04-08 20:04:59| 14 4 81 1 0 0| 37k 48k| 0 0 | 0 0 | 297 1170 |1712M 133M 972M 988M| 0 999M 04-08 20:05:00| 4 1 95 0 0 0| 0 12k| 62k 2395B| 0 0 | 371 1263 |1712M 133M 972M 989M| 0 999M 04-08 20:05:01| 2 1 97 0 0 0| 0 0 | 61k 2245B| 0 0 | 303 1017 |1713M 133M 972M 987M| 0 999M 04-08 20:05:02| 2 2 97 0 0 0| 0 0 | 61k 2248B| 0 0 | 327 984 |1714M 133M 972M 986M| 0 999M 04-08 20:05:03| 1 1 99 0 0 0| 0 0 | 62k 2251B| 0 0 | 296 944 |1714M 133M 972M 986M| 0 999M 04-08 20:05:04| 1 1 98 0 0 0| 0 0 | 60k 2343B| 0 0 | 272 882 |1714M 133M 972M 986M| 0 999M 04-08 20:05:05| 2 1 97 0 0 0| 0 0 | 65k 1867B| 0 0 | 352 1139 |1714M 133M 972M 986M| 0 999M 04-08 20:05:06| 2 1 97 0 0 0| 0 40k| 75k 2472B| 0 0 | 342 1035 |1714M 133M 972M 986M| 0 999M^C ali@silken:~$