Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ (1) — Plan9 4th Edition

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

ipconfig(8)

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 address. 

The options are:

­-i Instead of the usual listing, print one line per network 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)

Plan 9  —  December 02, 2007

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026