Write the Code. Change the World.

12月 31

安装

CentOS/Rocky/Alibaba Cloud Linux

sudo yum install -y iftop nethogs

Ubuntu/Debian

sudo apt update && sudo apt install -y iftop nethogs

使用

# 查看流量
sudo iftop -i eth0 -P