标签:style io ar os sp for strong on bs
curl -o /dev/null -s -w %{speed_download}:%{time_total} url
netstat -n | awk ‘/^tcp/ {++S[$NF]} END {for(a in S) print a, S[a]}‘
dstat -cdlmnpsy --tcp 5 --------->每5秒取值( system:int,csw分别为系统的中断次数(interrupt)和上下文切换(context switch)hiq,siq分别为硬中断和软中断次数)
top -d 1-------------------->每1秒取值,最活跃的进程
vmstat 2 8----------------->每2秒取值,取8次,关注项有:r,us,id,io(bi,bo)
iostat -x 1 5 --------------->每1秒取值,取5次,关注项有:await,%util
sar 1 6 --------------------->每1秒取值,取6次,关注项有: %iowait
dd if=/dev/sdc of=test bs=64k count=4k oflag=dsync------------->
(netstat -anlp|grep LIST|grep -v unix|wc -l)
(mii-tool --verbose em2)
(ethtool em2)
(lspci|grep -i ether dmesg |grep -i eth)
标签:style io ar os sp for strong on bs
原文地址:http://www.cnblogs.com/taosim/p/4095222.html