NETSTAT(1) NETSTAT(1)
NAME
netstat - summarize network connections
SYNOPSIS
netstat [ -int ] [ -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.
-t Prefix connections with how many seconds they've been
alive. The output is sorted with the youngest connec-
tions first.
FILES
/net/*/*
SOURCE
/rc/bin/netstat
SEE ALSO
ipconfig(8)
Page 1 Plan 9 (printed 4/25/26)