作用:能查看网卡的流出和流入的字节
安装:
依赖的库
lm_sensors-libs-3.1.1-10.el6.x86_64.rpm
net-snmp-libs-5.5-31.el6.x86_64.rpm
ifstat-1.1-1.2.el6.rf.x86_64.rpm
它们都能在http://rpm.pbone.net/搜到,依次安装即可
使用:ifstat
eth0
KB/s in KB/s out
295.68 13.37
213.47 14.40
191.30 9.39
171.63 10.19
110.01 4.94
77.91 3.99
167.10 7.75
271.83 12.08
304.22 13.68
255.23 11.12
81.25 3.85
70.22 3.88
196.96 8.75
249.87 11.25
184.63 8.46
262.45 11.87
286.17 17.63
安装:
依赖的库
lm_sensors-libs-3.1.1-10.el6.x86_64.rpm
net-snmp-libs-5.5-31.el6.x86_64.rpm
ifstat-1.1-1.2.el6.rf.x86_64.rpm
它们都能在http://rpm.pbone.net/搜到,依次安装即可
使用:ifstat
eth0
KB/s in KB/s out
295.68 13.37
213.47 14.40
191.30 9.39
171.63 10.19
110.01 4.94
77.91 3.99
167.10 7.75
271.83 12.08
304.22 13.68
255.23 11.12
81.25 3.85
70.22 3.88
196.96 8.75
249.87 11.25
184.63 8.46
262.45 11.87
286.17 17.63
转载于:https://blog.51cto.com/xwebos/754859