首页 > 日常记事 > 安装iftop流量查看

安装iftop流量查看

2011年6月1日 admin 发表评论 阅读评论

 

官方网站是 http://www.ex-parrot.com/~pdw/iftop/download/

最新版本是1.0版本 http://www.ex-parrot.com/~pdw/iftop/download/iftop-1.0pre1.tar.gz

安装命令:

yum install libpcap* -y

wget 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

 

在运行./configure 的时候出现了错误:

checking for a curses library containing mvchgat… none found
configure: error: Curses! Foiled again!
  (Can’t find a curses library supporting mvchgat.)
  Consider installing ncurses.

 

在运行./configure 的时候出现了错误

解决方法:

 

安装ncurses开发包

CentOS :

yum install ncurses-devel

Debian

apt-get install libncurses5-dev

安装ncurses开发包

开发包完成以后我们从新运行 ./configure  配置和生成源代码。

 

安装完毕以后我们使用命令iftop查看。

 

iftop查看

分类: 日常记事 标签:
  1. 本文目前尚无任何评论.
  1. 本文目前尚无任何 trackbacks 和 pingbacks.