System information
34 System Analysis and Tuning Guide
TCPAbortOnLinger: 0
TCPAbortFailed: 0
TCPMemoryPressures: 0
2.5.4 Interactive Network Monitor: iptraf
The iptraf utility is a menu based Local Area Network (LAN) monitor. It gener-
ates network statistics, including TCP and UDP counts, Ethernet load information, IP
checksum errors and others.
TIP
iptraf is not installed by default, install it with zypper in iptraf as
root
If you enter the command without any option, it runs in an interactive mode. You can
navigate through graphical menus and choose the statistics that you want iptraf to
report. You can also specify which network interface to examine.
Figure2.1: iptraf Running in Interactive Mode
The command iptraf understands several options and can be run in a batch mode
as well. The following example will collect statistics for network interface eth0 (-i)
for 1 minute (-t). It will be run in the background (-B) and the statistics will be writ-
ten to the iptraf.log file in your home directory (-L).
tux@mercury:~> iptraf -i eth0 -t 1 -B -L ~/iptraf.log
You can examine the log file with the more command:
tux@mercury:~> more ~/iptraf.log
Mon Mar 23 10:08:02 2010; ******** IP traffic monitor started ********