iptraf:找不到命令

Ami*_*min 9 centos

我在 CentOS 7 上安装了 iptraf 来监控网络:

[root@test ~]# yum install iptraf
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: ftp.osuosl.org
 * extras: mirrors.usinternet.com
 * updates: mirror.tzulo.com
Package iptraf-ng-1.1.4-4.el7.x86_64 already installed and latest version
Nothing to do
[root@test ~]# iptraf
bash: iptraf: command not found
Run Code Online (Sandbox Code Playgroud)

这是新bug吗?!

wis*_*cky 6

我在 Ubuntu 18.04 上遇到了类似的问题。

只需运行iptraf-ng而不是iptraf.


sca*_*cai 5

你的 CentOS 自动决定安装iptraf-ng。包的二进制文件iptraf-ngiptraf-ng. 下次只需用来rpm -ql iptraf-ng列出包装内容即可。