dstat - online linux system statistics

Today i stumpled upon dstat[1], a command line interface to monitor linux system parameters online. Dstat integrates the functionality of tools like vmstat, iostat, netstat, nfsstat and ifstat and one can monitor additionally system metrics such as cpu frequency, battery status using plugins.

Here comes some output generated by dstat

root@ubuntu:/# dstat -C 0,1
-------cpu0-usage--------------cpu1-usage------ -dsk/total- -net/total- ---paging-- ---system--
usr sys idl wai hiq siq:usr sys idl wai hiq siq| read writ| recv send| in out | int csw
4 2 93 0 0 0: 6 2 90 1 0 1| 211k 56k| 0 0 | 0 0 |1010 1419
8 2 90 0 0 0: 2 2 96 0 0 0| 0 0 | 0 70B| 0 0 |1011 1401
7 1 92 0 0 0: 0 1 98 1 0 0| 0 424k| 0 0 | 0 0 |1016 1396
5 1 94 0 0 0: 1 2 96 0 1 0| 0 0 | 0 0 | 0 0 | 994 1314
3 0 97 0 0 0: 6 2 92 0 0 0| 0 0 | 920B 892B| 0 0 |1071 1474

dstat can write output to csv-files to analyze system metrics with external programm such as rddtool or OpenOffice-Calc.

[1] http://dag.wieers.com/home-made/dstat/

Comments

Anonymous said…
Thank for sharing this. I want to mention two other useful online monitoring tools.

Check out:

htop

and

bmon

Here on my ubuntu i've to type

apt-get install bmon htop

That's it.

polarizers 2 cents

Popular Posts