yum install flex byacc libpcap ncurses ncurses-devel libpcap-devel tar zxvf iftop-0.17.tar.gz cd iftop-0.17 ./configure make && make install接着可以直接输入iftop 可检测当前ip流量数据