用命令iftop来检查带宽使用状况. netstat用来查看接口统计报告,还有top监控系统当前运行进程, 若是要查看进程的带宽使用状况,可使用nethogsspa
1. 安装命令行
yum -y install nethogs
2. nethogs 用法code
nethogs
3. nethogs 命令行参数blog
-d 参数增长刷新频率参数 接口
nethogs -d 5
·device name· 用来检测给定的设备带宽进程
nethogs eth0