index.txt
NETSTAT(1) General Commands Manual NETSTAT(1) NAME netstat - summarize network connections SYNOPSIS netstat [ -in ] [ -p proto ] [ netmtpt ] DESCRIPTION Netstat prints information about network mounted at netmtpt, default /net. For IP connections, netstat reports the protocol, connection number, user, connection state, local port, remote port and remote ad‐ dress. The options are: -i Instead of the usual listing, print one line per network inter‐ face. Each line gives the device, MTU, local address, mask, re‐ mote address, packets in, packets out, errors in, and errors out for this interface. -n By default, netstat looks up port numbers and addresses in the network databases to print symbolic names if possible. This op‐ tion disables such translation. -p Show only connections with the given protocol. FILES /net/*/* SOURCE /sys/src/cmd/netstat.c SEE ALSO ipconfig(8) NETSTAT(1)