🚀 Is building a website too difficult? Let me guide you step by step—Learn about the 「Naibabiji WordPress Website Building Coaching Service」 →

Install iftop to view real-time network statistics for the website server

If you have built a website server by purchasing a VPS yourself, you may encounter situations where the website server network is very slow. To troubleshoot the issue, we need to use tools like iftop to view the server's traffic information in real-time and determine if there are malicious programs sending network packets. This article documentsMethod and usage tutorial for installing iftop on CentOS 7

CentOS 7 iftop installation tutorial

1. Install EPEL repository Enter the following command to install directly (if you are not yet familiar with using a VPS, please first readthis article.)
yum install epel-release
If the above command fails to install, then use the following command to install manually
rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
2. Install iftop
yum install iftop

iftop usage tutorial

After installing iftop, simply enter iftop to launch it, and you will see the interface as shown in the image below:iftopIn the image above, the content at the bottom is as follows:
  • TX: Sent traffic
  • RX: Received traffic
  • TOTAL: Total traffic
  • rates: Represent the average traffic over the past 2s, 10s, and 40s, respectively
<= and => indicate the direction of traffic. Press the 'h' key on the keyboard to bring up help, as shown in the image below:iftop帮助For a more detailed iftop tutorial, you can refer tothis article by Wuya

🚀 Still feeling confused after reading the tutorial? Let me guide you step-by-step instead.

「Naibabiji WordPress Website Building Coaching」 — From selecting a domain and purchasing hosting to installing themes and publishing posts, I「ll guide you through every step, helping you avoid detours and reach your goals directly.

👉 Learn about Website Building Coaching Service
🔒

Comments are closed

The comment function for this article is closed. If you have any questions, please feel free to contact us through other channels.

×
二维码

Scan to Follow