Advance

5 Way to Display Network Traffic in Terminal Ubuntu

5 Way to Display Network Traffic in Terminal Ubuntu
1
(1)

To display network traffic in the terminal on Ubuntu, you can use various command-line tools. This article will explain 5 Ways to Display Network Traffic in Terminal Ubuntu. Eldernode offers an economically Ubuntu VPS Server, which you can check out the offered package to purchase it.

How to Display Network Traffic in Terminal Ubuntu

Network traffic refers to the flow of data packets on a computer network. It contains information that can provide insight into the performance, health, and security of a network. By analyzing network traffic, you can view various aspects of your network operations and identify potential issues or security threats. You can easily monitor network traffic and gain insights into the data transmitted through your network using various command-line tools.

 

Monitoring-Network-traffic-using-commandline-tools

 

Recommended Article: Install LAMP stack on Ubuntu 18.04 [quick-start]

Method 1) Using the ”iftop” Utility

iftop is a command-line tool that displays a list of active connections and their corresponding data transfer rates. It provides a real-time view of network bandwidth usage.

If you want to install iftop, open a terminal and run the following command:

sudo apt install iftop

To view the network traffic, use the command below:

iftop

Method 2) Using the ”nload” Console Application

nload is a console application that shows real-time incoming and outgoing traffic on all active network interfaces. It visualizes network traffic in a graph format.

You can install nload using the following command:

sudo apt install nload

Once done, run the command below to start monitoring network traffic:

nload

Method 3) Using The ”nethogs” Utility

nethogs is a utility that displays network bandwidth per process in a terminal. It provides a breakdown of network usage by individual processes.

If you want to install nethogs, enter the following command:

sudo apt install nethogs

You can view network traffic by running the following command:

nethogs

Method 4) Using The ”ifstat” Utility

ifstat is a command-line tool that displays network bandwidth usage for each network interface. This utility provides a summary of network traffic statistics in an easy-to-read format.

To install ifstat utility, just run the command below:

sudo apt install ifstat

Once the installation is completed, you can view network traffic statistics as shown below:

ifstat

Method 5) Using The ”iptraf-ng” Utility

iptraf-ng is a powerful network monitoring tool that can be used to display network traffic in the terminal Ubuntu. It provides detailed information about network traffic, including TCP/UDP connections, IP traffic distribution, and more.

You can install iptraf-ng utility using the command below:

sudo apt install iptraf-ng

Once done, run the following command to access the network traffic monitoring interface:

iptraf-ng

That’s it!

Recommended Article: How To Install OpenNMS Monitoring On Ubuntu 20.04

Conclusion

In this article, we taught you 5 ways to display Network Traffic in Terminal Ubuntu. I hope this tutorial was useful for you and that it helps you to view Network Traffic in the terminal Ubuntu. You can contact us in the Comments section if you have any questions or suggestions.

How useful was this post?

Click on a star to rate it!

Average rating 1 / 5. Vote count: 1

No votes so far! Be the first to rate this post.

View More Posts
Tom Veitch
Eldernode Writer
We Are Waiting for your valuable comments and you can be sure that it will be answered in the shortest possible time.

Leave a Reply

Your email address will not be published. Required fields are marked *

We are by your side every step of the way

Think about developing your online business; We will protect it compassionately

We are by your side every step of the way

+8595670151

7 days a week, 24 hours a day