查看命令:
[root@localhost ~]# iptraf -d eth0
-bash: iptraf: command not found
没有安装,先安装
首先安装需要的包:
yum -y install gcc
yum -y install glibc
yum -y install ncurses
安装完毕之后 我们现在开始安装iptraf
yum -y install iptraf
完毕后运行命令 iptraf -d eth0即可看到实时流量