Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to check the network bandwidth under Linux

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly shows you "how to check network bandwidth under Linux". The content is simple and clear. I hope it can help you solve your doubts. Let me lead you to study and learn this article "how to check network bandwidth under Linux".

Network bandwidth refers to the amount of data that can be transmitted in a unit time (generally refers to 1 second). The network is similar to the highway, the greater the bandwidth, the more lanes similar to the highway, the stronger its capacity.

See which ports the traffic is sent from:

# iftop-P

The-P option turns on the port display in the output of iftop.

The interface shows a scale range similar to that of a scale, which is used as a ruler for long bars that display flow patterns.

The two left and right arrows in the middle indicate the direction of the traffic.

TX: sending traffic

RX: receive traffic

TOTAL: total traffic

Cumm: total traffic from running iftop to the current time

Peak: peak traffic

Rates: indicates the average traffic in the past 2s, 10s, 40s respectively

To find the process running on that port, you can use netstat or lsof to find the appropriate process.

Use the netstat command to find the process running on port 10910:

# netstat-tunp | grep 10910

You can use the lsof command to find the process running on port 10909:

# lsof-iPlus 10909

View an application with a process PID of 51919:

# ps-ef | grep 51919

The above is all the contents of the article "how to check Network bandwidth under Linux". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report