To install IPTraf on a CentOS, Red Hat Enterprise Linux (RHEL), or Fedora Linux system, follow these steps:
https://www.tecmint.com/install-epel-repo-on-centos-rhel-fedora/
IPTraf using the package manager:sudo yum install iptraf
This will install IPTraf and all of its dependencies.
IPTraf by running the iptraf command.