当前位置:网站首页>SS - H command

SS - H command

2021-08-08 15:41:24 kidling

[root@centos-master ~]# ss -h
Usage: ss [ OPTIONS ]
       ss [ OPTIONS ] [ FILTER ]
   -h, --help          this message help
   -V, --version       output version information edition
   -n, --numeric       don't resolve service names Do not resolve service name
   -r, --resolve       resolve host names Resolve host name
   -a, --all           display all sockets Show all sockets
   -l, --listening     display listening sockets Displays the listening socket
   -o, --options       show timer information Display time information
   -e, --extended      show detailed socket information Show socket details
   -m, --memory        show socket memory usage Displays the memory usage of the socket
   -p, --processes     show process using socket Show processes using sockets
   -i, --info          show internal TCP information Show inside tcp Information
   -s, --summary       show socket usage summary Displays the socket Usage Summary
   -b, --bpf           show bpf filter socket information Show bpf Filter socket information
   -E, --events        continually display sockets as they are destroyed Persistent display socket ……
   -Z, --context       display process SELinux security contexts Show process SELinux Security context
   -z, --contexts      display process and socket SELinux security contexts Displays the connection between the process and the socket SELinux Security context
   -N, --net           switch to the specified network namespace name Switch to the specified network namespace

   -4, --ipv4          display only IP version 4 sockets
   -6, --ipv6          display only IP version 6 sockets
   -0, --packet        display PACKET sockets
   -t, --tcp           display only TCP sockets
   -S, --sctp          display only SCTP sockets
   -u, --udp           display only UDP sockets
   -d, --dccp          display only DCCP sockets
   -w, --raw           display only RAW sockets
   -x, --unix          display only Unix domain sockets
       --vsock         display only vsock sockets
   -f, --family=FAMILY display sockets of type FAMILY
       FAMILY := {inet|inet6|link|unix|netlink|vsock|help}

   -K, --kill          forcibly close sockets, display what was closed
   -H, --no-header     Suppress header line

   -A, --query=QUERY, --socket=QUERY
       QUERY := {all|inet|tcp|udp|raw|unix|unix_dgram|unix_stream|unix_seqpacket|packet|netlink|vsock_stream|vsock_dgram}[,QUERY]

   -D, --diag=FILE     Dump raw information about TCP sockets to FILE
   -F, --filter=FILE   read filter information from FILE
       FILTER := [ state STATE-FILTER ] [ EXPRESSION ]
       STATE-FILTER := {all|connected|synchronized|bucket|big|TCP-STATES}
         TCP-STATES := {established|syn-sent|syn-recv|fin-wait-{1,2}|time-wait|closed|close-wait|last-ack|listen|closing}
          connected := {established|syn-sent|syn-recv|fin-wait-{1,2}|time-wait|close-wait|last-ack|closing}
       synchronized := {established|syn-recv|fin-wait-{1,2}|time-wait|close-wait|last-ack|closing}
             bucket := {syn-recv|time-wait}
                big := {established|syn-sent|fin-wait-{1,2}|closed|close-wait|last-ack|listen|closing}

版权声明
本文为[kidling]所创,转载请带上原文链接,感谢
https://chowdera.com/2021/08/20210808153459048c.html

随机推荐