To install iftop
on CentOS or Red Hat Enterprise Linux, you can use the following steps:
- Enable the EPEL repository:
yum install epel-release
- Install iftop:
yum install iftop
Once installed, you can run iftop
in the terminal to display bandwidth usage by host for each network interface on the system.