summaryrefslogtreecommitdiff
path: root/static/plan9-4e/man1/netstat.1
diff options
context:
space:
mode:
Diffstat (limited to 'static/plan9-4e/man1/netstat.1')
-rw-r--r--static/plan9-4e/man1/netstat.139
1 files changed, 39 insertions, 0 deletions
diff --git a/static/plan9-4e/man1/netstat.1 b/static/plan9-4e/man1/netstat.1
new file mode 100644
index 00000000..6c16484b
--- /dev/null
+++ b/static/plan9-4e/man1/netstat.1
@@ -0,0 +1,39 @@
+.TH NETSTAT 1
+.SH NAME
+netstat \- summarize network connections
+.SH SYNOPSIS
+.B netstat
+[
+.B -in
+] [
+.I netmtpt
+]
+.SH DESCRIPTION
+.I Netstat
+prints information about network mounted at
+.IR netmtpt ,
+default
+.BR /net .
+With the
+.B \-i
+option, it reports one line per network interface listing the
+device, MTU, local address, masl, remote address, packets in,
+packets out, errors in, and errors out for this interface.
+For
+.I IP
+connections
+.I netstat
+reports the connection number, user,
+connection state, local port, remote port and
+remote address.
+.I Netstat
+looks up port numbers and addresses in the network databases
+to print symbolic names if possible, but if the
+.B -n
+option is specified, it does not translate to symbolic form.
+.SH FILES
+.B /net/*/*
+.SH SOURCE
+.B /sys/src/cmd/netstat.c
+.SH "SEE ALSO"
+.IR ipconfig (8)