当前位置:网站首页>Netstat command – displays network status
Netstat command – displays network status
2022-06-25 05:59:00 【ProYuan28】
netstat The command is used to display various network related information , Such as network connection , Routing table , Interface status (Interface Statistics),masquerade Connect , Multicast members (Multicast Memberships) wait .
On the whole ,netstat The output of can be divided into two parts : One is Active Internet connections, Called active TCP Connect , among ”Recv-Q” and ”Send-Q” finger %0A The receiving and sending queues . These numbers should generally be 0. If not, the package is piling up in the queue . This can only be seen in very few cases ; The other is Active UNIX domain sockets, Called active Unix Domain socket interface ( Like a network socket , But only for native communication , Performance can be doubled ).
Grammar format :netstat [ Parameters ]
Common parameters :
| -a | Show... In all connections Socket |
| -p | Display in use Socket Program identification code and program name |
| -u | Show UDP The connection status of the transport protocol |
| -i | Display the web interface information form |
| -n | Use it directly IP Address , Not through the domain name server |
Reference examples
Show detailed network status :
[[email protected] ~]# netstat -a
Display registered residence UDP Connection status :
[[email protected] ~]# netstat -nu
Show UDP Usage of port number :
[[email protected] ~]# netstat -apu Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name udp 0 0 0.0.0.0:bootpc 0.0.0.0:* 4000/dhclient udp 0 0 localhost:323 0.0.0.0:* 3725/chronyd udp6 0 0 localhost:323 [::]:* 3725/chronyd
Show network card list :
[[email protected] ~]# netstat -i Kernel Interface table Iface MTU Met RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR Flg eth0 1500 0 181864 0 0 0 141278 0 0 0 BMRU lo 16436 0 3362 0 0 0 3362 0 0 0 LRU
Show multicast group relationships :
[[email protected] ~]# netstat -g IPv6/IPv4 Group Memberships Interface RefCnt Group --------------- ------ --------------------- lo 1 ALL-SYSTEMS.MCAST.NET eth0 1 ALL-SYSTEMS.MCAST.NET lo 1 ff02::1 eth0 1 ff02::1:ff0a:b0c eth0 1 ff02::1
边栏推荐
- Use of pytorch tensorboard
- Interviewer: what is an iterator? What is the relationship between async await and iterators?
- A method of automatic continuation of previous tables in word table
- What are the reasons why most webmasters choose Hong Kong site group servers?
- 钱堂教育的证券账户安全吗?靠谱吗?
- Folding mobile phones are expected to explode, or help Samsung compete with apple and Chinese mobile phones
- Try with resource close resource flow
- Various errors and solutions encountered when deploying SAP ui5 application to ABAP server with SAP Fiori tools
- Use generator-easy-ui5 to quickly create the engineering structure of SAP ui5 applications
- Technology inventory: past, present and future of Message Oriented Middleware
猜你喜欢
Tutorial 35 of SAP ui5 application development - how to deploy locally developed SAP ui5 applications to ABAP server for trial reading
SAP ui5 Application Development Tutorial Part 30 - parameter transfer in the routing process of SAP ui5
Introduction to the main features of kyma when the cloud native application runs

Lesson 9: workspace introduction
Yunda's cloud based business in Taiwan construction 𞓜 practical school

ERDAS 9.2 installation tutorial

C simple operation mongodb
SAP ui5 tutorial for beginners part XXVI - detailed steps for using OData service with mock server trial version
Summary of 6 common methods of visual deep learning model architecture

No one reads the series. Source code analysis of copyonwritearraylist
随机推荐
Processes and threads - concepts and process scheduling
Three tier architecture experiment
What happens when redis runs out of memory
What changes have taken place in the project file after SAP ui5 tools ran the Fiori add deploy config command
MySQL -- optimize query statements and use not in with cases
Gavin's insight on transformer live class - line by line analysis and field experiment analysis of insurance BOT microservice code of insurance industry in the actual combat of Rasa dialogue robot pro
Linus' speech recordings, which were lost in 1994, were made public
Guava-IO
Jenkins installation and configuration
Echo command – output a string or extract the value of a shell variable
SAP ui5 beginner tutorial 25 - using proxy server to solve the cross domain problem of SAP ui5 application accessing remote OData service trial version
C simple operation mongodb
An example of recursion, the full permutation problem of 1~n
[golang] leetcode intermediate - Search rotation sort array & search two-dimensional matrix II
SAP ui5 Application Development Tutorial Part 30 - parameter transfer in the routing process of SAP ui5
Get the first letter of Chinese phonetic alphabet in Excel and capitalize it
Transformations of pytorch torch torch vision
CST8227
Go uses channel to control concurrency
Introduction to sap ui5 tools