Introduction
Iptraf is a program you can use to monitor network connections in real time.
Please note that cPanel support cannot assist with troubleshooting, using, or interpreting this command's output. You should consult your System Administrator if you need further assistance with Iptraf.
Procedure
Iptraf can be installed with your operating system's package manager.
CentOS/CloudLinux 6 or 7:
yum -y install iptraf
AlmaLinux, Rocky Linux, and CloudLinux 8+:
dnf install iptraf
Monitor IP traffic on a particular interface
You can type the following to monitor traffic on a particular interface:
iptraf -i $interface
For example, if you want to monitor eth0, you would type the following:
iptraf -i eth0
View detailed information on a particular interface
You can use the "-d" option to view detailed information on a particular interface.
For example, you can type the following to see a detailed report on the eth0 interface:
iptraf -d eth0
Comments
0 comments
Article is closed for comments.