51 lines · 942 B · Text
RawDownload
.TH NETSTAT 1.SH NAMEnetstat \- summarize network connections.SH SYNOPSIS.B netstat[.B -in] [.B -p.I proto] [.I netmtpt].SH DESCRIPTION.I Netstatprints information about network mounted at.IR netmtpt ,default.BR /net .For.I IPconnections,.I netstatreports the protocol, connection number, user,connection state, local port, remote port andremote address..PPThe options are:.TP.B -iInstead of the usual listing, print one line per network interface.Each line gives thedevice, MTU, local address, mask, remote address, packets in,packets out, errors in, and errors out for this interface..TP.B -nBy default,.I netstatlooks up port numbers and addresses in the network databasesto print symbolic names if possible.This option disables such translation..TP.B -pShow only connections with the given protocol..PD.SH FILES.B /net/*/*.SH SOURCE.B /sys/src/cmd/netstat.c.SH "SEE ALSO".IR ipconfig (8)