NETSTAT(1)NETSTAT(1)NAMEnetstat - summarize network connections
SYNOPSISnetstat [ -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
address.
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,
remote 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
option disables such translation.
-p Show only connections with the given protocol.
FILES
/net/*/*
SOURCE
/sys/src/cmd/netstat.c
SEE ALSOipconfig(8)NETSTAT(1)