`
ssydxa219
  • 浏览: 609772 次
  • 性别: Icon_minigender_1
  • 来自: 杭州
文章分类
社区版块
存档分类
最新评论

iftop

 
阅读更多

 

安装环境

操作系统:CentOS 5.6

内核:2.6.18

网络:千兆以太网

安装依赖包

yum install gcc flex byacc libpcap libpcap-devel ncurses ncurses-devel

编译、安装源码

下载地址:http://www.ex-parrot.com/pdw/iftop/download/iftop-0.17.tar.gz

编译安装:

tar zxvf iftop-0.17.tar.gz
cd iftop-0.17
./configure
make
make install

运行

iftop

iftop重要参数

  • -i:指定网卡
  • -B:以bytes为单位显示流量
  • 按q退出
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics