Linux 服务器流量监控iftop

Posted by wxianfeng Thu, 03 Mar 2011 02:37:00 GMT

环境:centos5.5 + ubuntu 10.10

最近我的VPS的流量超级大,平均达到了 5m/s , 不知道怎么回事 ,怎么流量这么大 ,最后找到了一个不错的工具 iftop 监控流量

和 top 命令相似,很实用,很方便

1,安装

ubuntu:

>sudo  apt-get install iftop

centos:

yum install flex byacc  libpcap ncurses ncurses-devel
wget ftp://fr2.rpmfind.net/linux/dag/redhat/el5/en/i386/dag/RPMS/iftop-0.17-1.el5.rf.i386.rpm
rpm -ivh iftop-0.17-1.el5.rf.i386.rpm

2,使用

>iftop

3,查看帮助

iftop 后 ? 查看

4,截图

更详细的摸下面网址:
http://www.vpser.net/manage/iftop.html

This entry was posted on Thu, 03 Mar 2011 02:37:00 GMT and Posted in . You can follow any any response to this entry through the Atom feed. You can leave a comment or a trackback from your own site.

Tags ,


Trackbacks

Use the following link to trackback from your own site:
http://wxianfeng.com/trackbacks?article_id=185

Comments

Leave a comment