推荐一款适合运维、网工使用的服务器流量全面监测工具sniffnet,有图形界面,可实时展示流量情况。
github可以访问的直接到如下链接去下载就可以,目前支持windows、mac、linux版本,
https://github.com/GyulyVGC/sniffnet
github如果无法访问的话,
也可访问如下链接获取:https://www.sniffnet.net/download/
2-安装
https://bmshare.oss-cn-beijing.aliyuncs.com/centos/Sniffnet_LinuxRPM_x86_64.rpm
yum install Sniffnet_LinuxRPM_x86_64.rpm
我这里报错:
ERROR You need to update rpm to handle:
rpmlib(PayloadIsZstd) = 5.4.18-1 is needed by sniffnet-0:1.3.1-1.x86_64
RPM needs to be updated
You could try running: rpm -Va --nofiles --nodigest
Your transaction was saved, rerun it with:
yum load-transaction /tmp/yum_save_tx.2024-12-26.09-42.mN5nb8.yumtx
那么就用编译方式安装:
sudo yum update
sudo yum install -y epel-release
sudo yum install -y git libpcap-devel libnet libnet-devel pcre pcre-devel openssl openssl-devel
git clone https://github.com/GyulyVGC/sniffnet.git
3- 使用
我们直接在终端 执行一个命令:
欢迎来撩 : 汇总all