介绍
ifstat工具是个网络接口监测工具,比较简单看网络流量
ifstat的安装使用:
wget/ifstat/ifstat-1.1.tar.gz
tar xzvf ifstat-1.1.tar.gz
cd ifstat-1.1
./configure
make
make install
实例
默认使用
#ifstateth0eth1KB/sinKB/soutKB/sinKB/sout0.070.200.000.000.070.150.580.00
默认ifstat不监控回环接口,显示的流量单位是KB。
监控所有网络接口
#ifstat-aloeth0eth1KB/sinKB/soutKB/sinKB/soutKB/sinKB/sout0.000.000.280.580.060.060.000.001.411.130.000.000.610.610.260.230.000.00
ifstat比较简单看网络流量概况。