리눅스_Life

트래픽 발생 추적

트래픽 발생 추적


 

iptraf   으로 트래픽 확인


 

pktstat로 많이 발생하는 아이피 추적

 

tcpdump -w output.pcap

-r 옵션으로 확인


 

12. Pktstat

Pktstat displays all the active connections in real time, and the speed at which data is being transferred through them. It also displays the type of the connection, i.e. tcp or udp and also details about http requests if involved.

 

pktstat -i eth0 -nt


 

$ sudo apt-get install pktstat

 

http://www.binarytides.com/linux-commands-monitor-network/




 

다운로드

 

http://pkgs.repoforge.org/pktstat/


 

centos6.x 64bit

 

cd /usr/local/src

wget http://pkgs.repoforge.org/pktstat/pktstat-1.8.4-1.el6.rf.x86_64.rpm

rpm -ivh pktstat-1.8.4-1.el6.rf.x86_64.rpm

 

32bit

 

wget http://pkgs.repoforge.org/pktstat/pktstat-1.8.4-1.el6.rf.i686.rpm


 

centos5.11

yum -y install pktstat

 

댓글

댓글 본문
작성자
비밀번호
graphittie 자세히 보기