官网上说使用iftop需要libpcap和libcurses这两个包. 用命令查找了一下 # rpm -qa | grep libpcap libpcap-0.9.4-15.el5 只找到了这个,缺少libpcap-devel-0.9.4-15.el5就继续安装了. 出错了:configure: error: can't find pcap.h You're not going to get very far without libpcap. # yum –y install libpcap-…