ntop is a tool that shows the network usage, similar to what the popular top Unix command does. ntop is based on pcapture (ftp://ftp.ee.lbl.gov/pcapture.tar.Z) and it has been written in a portable way in order to virtually run on every Unix platform.
ntop can be used in both interactive or web mode. In the first case, ntop displays the network status on the user's terminal whereas in web mode a web browser (e.g. netscape) can attach to ntop (that acts as a web server) and get a dump of the network status. In the latter case, ntop can be seen as a simple RMON-like agent with an embedded web interface.
# cp ntop-1.2a12.tar.gz /usr/local/src # cd /usr/local/src # tar zxvf ntop-1.2a12.tar.gz # chown root.root ntop-1.2a12 -R # cd ntop-1.2a12 # ./configure # make # make install
# ntop ntop v.1.2a12 MT [i686-pc-linux-gnu] listening on [eth0] 138 Pkts/11.1 Kb [IP 10.9 Kb/Other 204] Thpt: 2.6 Kbps/2.6 Kbps Host Act -Rcvd- Sent TCP UDP ICMP www B 2.5 Kb 5.6 Kb 120 550 1.8 Kb
# ntop -w 3000
... /usr/local/sbin/ntop -w 3000 -d