IPTraf is a network monitoring tool with more powerful functions than nload. it can monitor all traffic, IP traffic, protocol-based traffic, and set filters. for example, for monitoring networks, this is more suitable and more powerful, but in the overall traffic display, there is no nload intuitive and convenient official website and download http://iptraf.seul.org/download.htmlsource code installation wgetftp://iptra
IPTraf is a network monitoring tool with more powerful functions than nload. it can monitor all traffic, IP traffic, protocol-based traffic, and set filters, such
For the monitoring network, this is more suitable and more powerful, but in the overall traffic display, there is no nload intuitive and convenient
Official website and download http://iptraf.seul.org/download.html
Source code installation
wget ftp://iptraf.seul.org/pub/iptraf/iptraf-3.0.0.tar.gztar zxvf iptraf-3.0.0.tar.gzcd iptraf-3.0.0./Setup
Yum installation
yum install -y iptraf
Use
Run iptraf directly
There is a menu prompt below, and then you can view the related options
IP traffic monitoring (IP traffic monitor)
General Interface Statistics)
Network Interface details Statistics (Detailed Interface Statistics)
Statistical Breakdowns)
LAN Station Statistics)
Filter (Filters ...)
Configuration (Configure ...)
Exit)
You can also directly add parameters or options to access
You can view the parameters and options.
[Root @ wdlinux iptraf-3.0.0] # iptraf-h
Syntax:
Iptraf [-f] [{-I iface |-g |-d iface |-s iface |-z iface |
-L iface} [-t timeout] [-B] [-L logfile] [-I interval]
Issue the iptraf command with no parameters for menu-driven operation.
These options can also be supplied to the command:
-I iface-start the IP traffic monitor (use "-I all" for all interfaces)
-G-start the general interface statistics
-D iface-start the detailed statistics facility on an interface
-S iface-start the TCP and UDP monitor on an interface
-Z iface-shows the packet size counts on an interface
-L iface-start the LAN station monitor ("-l all" for all LAN interfaces)
-B-run in background (use only with one of the above parameters)
-T timeout-when used with one of the above parameters, tells
The facility to run only for the specified number
Minutes (timeout)
-L logfile-specifies an alternate log file for any direct invocation
Of a facility from the command line. The log is placed in
/Var/log/iptraf if path is not specified.
-I interval-specifies the log interval for all facilities cannot the IP address
Traffic monitor. Value is in minutes.
-F-clear all locks and counters. Use with great caution.
Normally used to recover from an abnormal termination.
IPTraf 3.0.0 Copyright (c) Gerard Paul Java 1997-2004