Selasa, 06 Juli 2010

Monitoring Network Trafic with IFTOP

apt-get install iftop

tes

iftop -B
lebih kurang akan keluar hasil seperti berikut :


nah agar pembacaan trafic tersebut jadi lebih mudah, buatlah direktori baru
mkdir /etc/iftop

lalu buatlah file eth1(trafik yang dilalui jaringan lokal ke inet)
nano /etc/iftop/eth1

isi dari file /etc/iftop/eth1 adalah sebagai berikut :
interface: eth1
dns-resolution: no
port-resolution: no
show-bars: yes
promiscuous: no
port-display: off
hide-source: yes
hide-destination: no
sort: 2s
line-display: one-line-sent

sekarang coba jalankan kembali iftop

iftop -c /etc/iftop/eth1