显示网卡的流量  display bandwidth usage on an interface
 
 
 
我用的是RHEL5U1 ,需要安装 byacc 和flex这2个包
 
rpm -ivh byacc-1.9-29.2.2.i386.rpm
 
rpm -ivh flex-2.5.4a-41.fc6.i386.rpm
 
 
 
另外还需要libpcap
 
 
tar zxvf libpcap-0.9.8.tar.gz
 
cd libpcap-0.9.8
 
./configure
 
make
 
make install
 
 
 
安装iftop
 
 
tar zxvf iftop-0.17.tar.gz
 
cd iftop-0.17
 
./configure
 
make
 
make install
 
 
 
安装完成后直接用 iftop –I eth0 –n 就可以看到eth0网卡的流量状况
 

相关文章:

  • 2022-02-04
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-13
  • 2021-10-09
  • 2022-01-11
  • 2022-03-04
猜你喜欢
  • 2021-09-28
  • 2022-12-23
  • 2022-12-23
  • 2020-01-07
  • 2021-12-02
  • 2021-09-16
  • 2021-05-24
相关资源
相似解决方案