netstat 查看进程

This program is obsolete. Replacement for netstat is ss. Replacement for netstat -r is ip route. Replacement for netstat -i is ip -s link.
Replacement for netstat -g is ip maddr.

查看网络联接,路由表,接口统计 masquerade connections, and multicast memberships.

用法

  1. netstat [address_family_options] [--tcp|-t] [--udp|-u] [--udplite|-U]
  2. [--sctp|-S] [--raw|-w] [--listening|-l] [--all|-a] [--numeric|-n]
  3. [--numeric-hosts] [--numeric-ports] [--numeric-users] [--symbolic|-N]
  4. [--extend|-e[--extend|-e]] [--timers|-o] [--program|-p] [--verbose|-v]
  5. [--continuous|-c] [--wide|-W] [delay]
  6. netstat {--route|-r} [address_family_options]
  7. [--extend|-e[--extend|-e]] [--verbose|-v] [--numeric|-n]
  8. [--numeric-hosts] [--numeric-ports] [--numeric-users] [--continuous|-c]
  9. [delay]
  10. netstat {--interfaces|-I|-i} [--all|-a] [--extend|-e] [--verbose|-v]
  11. [--program|-p] [--numeric|-n] [--numeric-hosts] [--numeric-ports]
  12. [--numeric-users] [--continuous|-c] [delay]
  13. netstat {--groups|-g} [--numeric|-n] [--numeric-hosts]
  14. [--numeric-ports] [--numeric-users] [--continuous|-c] [delay]
  15. netstat {--masquerade|-M} [--extend|-e] [--numeric|-n]
  16. [--numeric-hosts] [--numeric-ports] [--numeric-users] [--continuous|-c]
  17. [delay]
  18. netstat {--statistics|-s} [--tcp|-t] [--udp|-u] [--udplite|-U]
  19. [--sctp|-S] [--raw|-w] [delay]
  20. netstat {--version|-V}
  21. netstat {--help|-h}
  22. address_family_options:
  23. [-4|--inet] [-6|--inet6] [--proto
  24. col={inet,inet6,unix,ipx,ax25,netrom,ddp, ... } ] [--unix|-x]
  25. [--inet|--ip|--tcpip] [--ax25] [--x25] [--rose] [--ash] [--ipx]
  26. [--netrom] [--ddp|--appletalk] [--econet|--ec]