This hosting maintenance note, published on January 8, 2015, is titled "Real-time Traffic Monitoring of Linux VPS Hosts Using the iftop Command Prompt Tool." The actual environment or tools involved include Linux.
Software and deployment conditions
The iftop runtime environment is not usually installed on most systems; you need to install it yourself. On a VPS/server that already has iftop installed, you can log in via SSH and simply type `iftop` to view the information.
Data center and resources
It is recommended to install the IFTOP environment before installing the VPS website environment. If you are installing it on an already running VPS website environment, please back up your data properly to avoid problems.
Matters mentioned in the article
- First, installing the iftop environment.
- Second, using iftop and its parameters
- Third, common problems during iftop installation
- 1. indicates bidirectional flow.
- 2. TX: Send traffic data
- 3. RX: Receive traffic data
- 4. TOTAL: Total traffic data
- 5. Cumm: Traffic count from the start of iftop to the present.
- 6. Peak: Peak traffic data
- 7. rates: Represents the average flow rate data over the past 2 seconds, 10 seconds, and 40 seconds, respectively.
Usage Environment
Linux.
Key points to check
Bandwidth and trafficPort rates are typically measured in bits per second (bit/s), while monthly traffic is usually accumulated in bytes. These two metrics need to be verified separately, and peak port throughput cannot be directly equated with continuously available throughput.