centos 上安装监控流量软件

概述

ifstat工具是个网络接口监测工具,比较简单看网络流量

ifstat的安装使用:

wgethttp://distfiles.macports.org/ifstat/ifstat-1.1.tar.gz
tar xzvf ifstat-1.1.tar.gz
cd ifstat-1.1
./configure
make
make install


查看:

认使用

#ifstat
       eth0                eth1       
 KB/s in  KB/s out   KB/s in  KB/s out
    0.07      0.20      0.00      0.00
    0.15      0.58      0.00

认ifstat不监控回环接口,显示的流量单位是KB。

监控所有网络接口

# ifstat -a
        lo                 eth0                eth1       
 KB/s 0.28      0.06      0.06
    1.41      1.13      0.61      0.26      0.23       ifstat比较简单看网络流量概况。

相关文章

Centos下搭建性能监控Spotlight
CentOS 6.3下Strongswan搭建IPSec VPN
在CentOS6.5上安装Skype与QQ
阿里云基于centos6.5主机VPN配置
CentOS 6.3下配置multipah
CentOS安装、配置APR和tomcat-native