终于拟出了监控特性规范,给自己鼓励下,明天继续完善:)
终于拟出了监控特性规范,给自己鼓励下,明天继续完善:)
正冰 is discussing. Toggle Comments
linux系统上可以使用(centos 2.6.18-144开始支持),dstat版本至少是:dstat-0.6.7-1.rf.noarch.rpm
wget -c http://linux.web.psi.ch/dist/scientific/5/gfa/all/dstat-0.6.7-1.rf.noarch.rpm
rpm -Uvh dstat-0.6.7-1.rf.noarch.rpm
# dstat -M topio -d -M topbio
—-most-expensive—- -dsk/total- —-most-expensive—-
i/o process | read writ| block i/o process
owl_agent 9642B: 439B| 38k 42k|init 8317B: 41B
nginx 0 :2005B| 0 26k|
gmond 0 : 16k| 0 17k|
gmond 0 : 444B| 0 0 |
低于这个kernel版本的可以参考这个方法:http://www.xaprb.com/blog/2009/08/23/how-to-find-per-process-io-statistics-on-linux/
最后多谢光哥和W总~
Proudly powered by WordPress. P2 主题设计者 Automattic.
正冰 19:13 on 2010 年 06 月 29 日 链接地址
支持一下!