暗黑模式
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 eth0
iftop
: 实时IP+Port流量 iftop -B -i eth1
vnstat
: 按时间统计网卡流量ip
: ...ip -h -s link [show eth0] # 显示开机以来的网卡流量统计
lsof -i :6379 # 查看端口占用