满意答案
582yjl
2017.10.30
采纳率:45% 等级:12
已帮助:7710人
vnstat命令
root@localhost:~# vnstat
rx / tx / total / estimated
vmnet8: Not enough data available yet.
vmnet1: Not enough data available yet.
p4p1:
Sep '17 21.17 GiB / 15.20 GiB / 36.37 GiB
Oct '17 14.69 GiB / 3.28 GiB / 17.97 GiB / 18.78 GiB
yesterday 231.42 MiB / 38.74 MiB / 270.16 MiB
today 244.14 MiB / 36.21 MiB / 280.35 MiB / 425 MiB
p2p1:
Sep '17 9.20 GiB / 18.35 GiB / 27.55 GiB
Oct '17 6.37 GiB / 14.29 GiB / 20.66 GiB / 21.59 GiB
yesterday 129.26 MiB / 240.74 MiB / 370.00 MiB
today 137.30 MiB / 222.10 MiB / 359.41 MiB / 546 MiB
实时查看网卡流量
# vnstat -i p2p1 -l
Monitoring p2p1... (press CTRL-C to stop)
rx: 28 kbit/s 45 p/s tx: 52 kbit/s 36 p/s
00分享举报