NETSTAT(1) 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 pro-
tocol, 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 net-
work interface. 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 ALSO
ipconfig(8)
Page 1 Plan 9 (printed 11/3/25)