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 card traffic in Linux system

2025-02-24 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 the network card traffic in the Linux system". The content is simple and clear. I hope it can help you solve your doubts. Let the editor lead you to study and learn this article "how to check the network card traffic in the Linux system".

Yum installation

Direct operation

Yum install vnstat-y

Test after installation:

[root@21yunwei] # vnstat-l-I eth0Monitoring eth0... (press CTRL-C to stop) rx: 0 kbit/s 0 pshock s tx: 0 kbit/s 0 p / s ^ Ceth0 / traffic statistics rx | tx--+- -bytes 14.35 MiB | 13.87 MiB--+- max 5.80 Mbit/s | 3.67 Mbit/s average 82.87 kbit/s | 80.08 kbit/s min 0 kbit/s | 0 kbit/s--+- packets 16142 | 10523- -- +-max 626pamp s | 316pUnix s average 11pUniver s | 7pUnix s min 0pUnip s | Install vnstat in the way of source code compilation of minutes

Suitable for situations where individual systems cannot be installed with yum.

Wget http://humdi.net/vnstat/vnstat-1.10.tar.gztar xvzf vnstat-1.10.tar.gzcd vnstat-1.10makemake install

The above is all the contents of the article "how to check the network card traffic in the Linux system". 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