Get the App
SLTechnology News&Howtos  ›  Development  › 

What is the method of Linux network monitoring?

Shulou Source: shulou.com Published: 2022-06-01 20:09:25 10月03日 Update

This article mainly introduces the Linux network monitoring method is what the relevant knowledge, the content is detailed and easy to understand, the operation is simple and fast, has a certain reference value, I believe that we read this Linux network monitoring method is what the article will gain, let's take a look at it.

Linux network monitoring specific methods: view network card information, bandwidth information

[root@workip ~]# ethtool eth0 Settings for eth0: Supported ports: [ TP ] Supported link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Full Supported pause frame use: No Supports auto-negotiation: Yes Advertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Full Advertised pause frame use: No Advertised auto-negotiation: Yes Speed: 1000Mb/s #Here stands for 1000 Mb port Duplex: Full Port: Twisted Pair PHYAD: 0 Transceiver: internal Auto-negotiation: on MDI-X: Unknown Supports Wake-on: d Wake-on: d Current message level: 0x00000007 (7) drv probe link Link detected: yes 123456789101121314151617181920212232425 The following tools can be installed via yum install XXX, if the installation fails, check the yum library and update it. I'm using aly's library. nload can view real-time traffic information

Use iftop to view traffic rankings between different machines

iptraf This feature looks very powerful, follow-up research

You can view the number of tcp connections directly using the command

#netstat -n |awk '/^tcp/ {++S[$NF]} END {for(a in S) print a, S[a]}' TIME_WAIT 593 SYN_SENT 30 ESTABLISHED 39 CLOSING 212345

#netstat -nat| grep ESTABLISHED| wc -l 1164 About "Linux network monitoring method is what" The content of this article is introduced here, thank you for reading! I believe that everyone has a certain understanding of "what is the method of Linux network monitoring" knowledge. If you still want to learn more knowledge, please pay attention to the industry information channel.

Tags: Methods networks network monitoring monitoring information knowledge content traffic articles different powerful between representatives values functions available through commands real-time tools bandwidth Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Information MariaDB Redmi Apple Microsoft