netstat 827 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. .TH NETSTAT 1
  2. .SH NAME
  3. netstat \- summarize network connections
  4. .SH SYNOPSIS
  5. .B netstat
  6. [
  7. .B -in
  8. ] [
  9. .I netmtpt
  10. ]
  11. .SH DESCRIPTION
  12. .I Netstat
  13. prints information about network mounted at
  14. .IR netmtpt ,
  15. default
  16. .BR /net .
  17. With the
  18. .B \-i
  19. option, it reports one line per network interface listing the
  20. device, MTU, local address, masl, remote address, packets in,
  21. packets out, errors in, and errors out for this interface.
  22. For
  23. .I IP
  24. connections
  25. .I netstat
  26. reports the connection number, user,
  27. connection state, local port, remote port and
  28. remote address.
  29. .I Netstat
  30. looks up port numbers and addresses in the network databases
  31. to print symbolic names if possible, but if the
  32. .B -n
  33. option is specified, it does not translate to symbolic form.
  34. .SH FILES
  35. .B /net/*/*
  36. .SH SOURCE
  37. .B /sys/src/cmd/netstat.c
  38. .SH "SEE ALSO"
  39. .IR ipconfig (8)