Install iftop tool
yum install iftop -y
yum install lsof -y
iftop
<=
,=>
Indicates the direction of flow- TX means sending traffic
- RX means receiving traffic
- TOTAL means total traffic
- Cum represents the total traffic from running iftop to the current time
- peak represents the peak flow rate
- Rates represent the average traffic in the past 2s, 10s, and 40s, respectively
Reference: https://cloud.tencent.com/document/product/213/10334