1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
| Options: -r, --route 显示路由表 -I, --interfaces=<Iface> display interface table for <Iface> -i, --interfaces 显示网卡列表 -g, --groups display multicast group memberships -s, --statistics 显示网络状态信息 -M, --masquerade display masqueraded connections -v, --verbose be verbose -W, --wide IP地址不换行显示 -n, --numeric 显示数字格式而非服务名称 --numeric-hosts don't resolve host names --numeric-ports don't resolve port names --numeric-users don't resolve user names -N, --symbolic resolve hardware names -e, --extend display other/more information -p, --programs 显示pid -o, --timers display timers -c, --continuous 不断的刷新显示,实时查看连接状态 -l, --listening display listening server sockets -a, --all display all sockets (default: connected) -F, --fib display Forwarding Information Base (default) -C, --cache display routing cache instead of FIB -Z, --context display SELinux security context for sockets <Socket>={-t|--tcp} {-u|--udp} {-U|--udplite} {-S|--sctp} {-w|--raw} {-x|--unix} --ax25 --ipx --netrom <AF>=Use '-6|-4' or '-A <af>' or '--<af>'; default: inet
|