Linux

< iftop > 리눅스 Traffic 확인 프로그램

은이종 2012. 10. 26. 13:55

1. 필요 라이브러리
ncurses
ncurses-devel-5.2-26
libpcap

2. 설치
http://pkgs.repoforge.org/iftop/
해당 OS에 맞는 버전 다운 (난  CentOS 5.8 x64)
wget http://pkgs.repoforge.org/iftop/iftop-0.17-1.el5.rf.x86_64.rpm
rpm -Uvh iftop-0.17-1.el5.rf.x86_64.rpm 

* Ubuntu 설치
apt-get install iftop


3. 실행
iftop -p -P -i eth1   

우측 세가지 표시되는 트래픽은 각기 2초 10초 40초 표시

Cumm은 실행하고 나서 총 합