是否有Linux终端命令可让您实时查看进入TCP连接的数据量?


Answers:





8

这些以ui样式提供所有详细信息。如果您正在寻找一种更简单的用法:

vnstat -l

您会得到类似(实时更新)的信息:

[user@host ~]$ vnstat -l

Monitoring em1...    (press CTRL-C to stop)

   rx:        4 kbit/s     5 p/s          tx:        4 kbit/s     3 p/s

相同的命令可用于获取每日/每月/等流量报告。


By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.