LISTEN The socket is listening for incoming connections. The remote end has shut down, and the socket is closed. The remote end has shut down, waiting for the socket to close. The socket is waiting after close to handle packets still in the network. The socket is closed, and the connection is shutting down.Ĭonnection is closed, and the socket is waiting for a shutdown from the remote end. The socket is actively attempting to establish a connection.Ī connection request has been received from the network. The socket has an established connection. Normally this can be one of several values: Since there are no states in raw mode and usually no states used in UDP, this column may be left blank. Unless the -numeric (-n) option is specified, the socket address is resolved to its canonical host name (FQDN), and the port number is translated into the corresponding service name.Īddress and port number of the remote end of the socket. The count of bytes not acknowledged by the remote host.Īddress and port number of the local end of the socket. The count of bytes not copied by the user program connected to this socket. The protocol (tcp, udp, raw) used by the socket. Print routing information from the route cache.Īctive Internet connections (TCP, UDP, raw) With the -interfaces option, show interfaces that are not up Show both listening and non-listening sockets. Show the PID and name of the program to which each socket belongs. Include information related to networking timers. Use this option twice for maximum detail. This will cause netstat to print the selected information every second continuously.ĭisplay additional information. The address family inet includes raw, udp and tcp protocol sockets. This has the same effect as using the -inet, -unix (-x), -ipx, -ax25, -netrom, and -ddp options. family is a comma (',') separated list of address family keywords like inet, unix, ipx, ax25, netrom, and ddp. Specifies the address families (perhaps better described as low level protocols) for which connections are to be shown. Shows numerical user IDs but does not affect the resolution of host or port names. Shows numerical port numbers but does not affect the resolution of host or user names. Shows numerical host addresses but does not affect the resolution of port or user names. Show numerical addresses instead of trying to determine symbolic host, port or user names. This is optional for now to not break existing scripts. Especially print some useful information about unconfigured address families.ĭo not truncate IP addresses by using output as wide as needed. Tell the user what is going on by being verbose. netstat -r and route -e produce the same output.ĭisplay multicast group membership information for IPv4 and IPv6.ĭisplay a table of all network interfaces.ĭisplay a list of masqueraded connections.ĭisplay summary statistics for each protocol. See the description in route(8) for details. If you don't specify any address families, then the active sockets of all configured address families will be printed.ĭisplay the kernel routing tables. The type of information printed is controlled by the first argument, as follows:īy default, netstat displays a list of open sockets. Netstat prints information about the Linux networking subsystem. Netstat - Print network connections, routing tables, interface statistics, masquerade connections, and multicast memberships From More complete description of some aspects of the output.The netstat Command (Linux) – a guide to using the netstat command in Linux.Microsoft TechNet Netstat article – netstat.exe command-line docs.It is available on Unix-like operating systems including OS X, Linux, Solaris, and BSD, and is available on Windows NT-based operating systems including Windows XP, Windows Vista, Windows 7 and Windows 8. In computing, netstat (network statistics) is a command-line tool that displays network connections (both incoming and outgoing), routing tables, and a number of network interface (network interface controller or software-defined network interface) and network protocol statistics.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |