ifstat命令行得到网卡流量
下载ifstat,?http://gael.roualland.free.fr/ifstat/ifstat-1.1.tar.gz
#tarxzvfifstat-1.1.tar.gz
#cdifstat-1.1
#./configure&&make&&makeinstall
#manifstat
-t显示时间格式:HH:MM:SS
-i指定的网卡,如果有多块网卡以”,”分隔
-T显示所有接口的带宽.
[root@flow_video]#ifstat-tT
Timeeth0eth1eth2eth3Total
HH:MM:SSKB/sinKB/soutKB/sinKB/soutKB/sinKB/soutKB/sinKB/soutKB/sinKB/sout
16:53:040.840.621256.271173.050.120.180.000.001257.221173.86
16:53:050.570.400.570.760.000.000.000.001.141.17
16:53:061.580.710.420.780.000.000.000.002.011.48
16:53:070.570.401.912.610.000.000.000.002.483.01
16:53:080.730.40924.021248.910.000.000.000.00924.761249.31
更多请参考http://jasonyong.blog.51cto.com/47753/174197
相关推荐
吹云 2020-11-05
84407805 2020-11-01
曾是土木人 2020-10-31
87201442 2020-10-15
java0 2020-09-29
81437716 2020-09-18
81437716 2020-09-13
bluecarrot 2020-09-11
myCat 2020-09-09
83427718 2020-09-07
85560694 2020-09-03
89520991 2020-08-21
89550191 2020-08-09
katie000 2020-08-04
hunningtu 2020-07-30
89961330 2020-07-28
yuzhongdelei0 2020-07-28
yuzhongdelei0 2020-07-27