Home > php教程 > PHP开发 > Detailed explanation of netstat command

Detailed explanation of netstat command

高洛峰
Release: 2016-12-15 09:49:31
Original
1475 people have browsed it

The netstat command is a command that accesses network and related information in the kernel. It can display protocol statistics and current TCP/IP network connections.

1. Enter the "netstat -a" command in the command prompt to display all network connections and listening ports.

Detailed explanation of netstat command

2. Enter the "netstat -b" command in the command prompt window to display the executable programs involved in creating network connections and listening ports.

Detailed explanation of netstat command

3. Enter the "netstat -n" command in the command prompt window to display the valid connections that have been created and display the local address and port number in numerical form.

4. Enter the "netstat -s" command in the command prompt window to display various statistical data for each protocol, view the connections that exist on the network, and display the reception and sending of data packets.

5. Enter the "netstat -e" command in the command prompt window to display statistics about Ethernet, including the number of bytes transmitted, packets, errors, etc.

6. Enter the "netstat -r" command in the command prompt window to display information about the routing table and the current active connections.


Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template