暗黑模式
nethogs: 实时进程流量nethogs eth0
iftop: 实时IP+Port流量iftop -B -i eth1
vnstat: 按时间统计网卡流量ip: ...
bash
ip -h -s link [show eth0] # 显示开机以来的网卡流量统计1
bash
lsof -i :6379 # 查看端口占用1
暗黑模式
nethogs: 实时进程流量 nethogs eth0iftop: 实时IP+Port流量 iftop -B -i eth1vnstat: 按时间统计网卡流量ip: ...ip -h -s link [show eth0] # 显示开机以来的网卡流量统计lsof -i :6379 # 查看端口占用