CentOS, Redhat 환경에서 iftop(실시간 트래픽 모니터링툴) 설치하기

 

 

 

=================================
 1. 커널 / OS 확인
=================================

# 커널 정보 확인
uname -a
uname -r

 

# 커널 비트 확인
getconf LONG_BIT

 

# OS release 확인
cat /etc/redhat-release
 

 

=================================
 2. Remi repository 등록
=================================

# CnetOS 5.x 32bit 환경
wget http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm
rpm -Uvh epel-release-5-4.noarch.rpm

 

# Redhat 6.x 64bit 환경
wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
rpm -Uvh epel-release-6-8.noarch.rpm

 


=================================
 3. iftop 설치
=================================

# iftop 설치
yum install iftop

 


=================================
 4. iftop 실행
=================================

# 네트워크 인터페이스 확인
ifconfig

 

# iftop 실행
iftop -i eth0

 

# iftop 도움말 (iftop 실행화면에서 h 키 클릭)
Host display:                                       General:
 n - toggle DNS host resolution              P - pause display
 s - toggle show source host                h - toggle this help display
 d - toggle show destination host           b - toggle bar graph display
 t - cycle line display mode                   B - cycle bar graph average
                                                         T - toggle cumulative line totals
Port display:                                       j/k - scroll display
 N - toggle service resolution                f - edit filter code
 S - toggle show source port                l - set screen filter
 D - toggle show destination port           L - lin/log scales
 p - toggle port display                         ! - shell command
                                                        q - quit
Sorting:
 1/2/3 - sort by 1st/2nd/3rd column
 < - sort by source name
 > - sort by dest name
 o - freeze current order

iftop, version 1.0pre4

 

 

 

# 샘플 화면 (http://www.ex-parrot.com/pdw/iftop/)

 

 


 

+ Recent posts