CentOS,Ubuntu,Fedora,Debian,Linux,KVM,Virtualization

CentOS,Ubuntu,Fedora,Debian,Linux,KVM,Virtualization

CentOS,Ubuntu,Fedora,Debian,Linux,KVM,Virtualization

ss
11/08/2018 | 135
ss : display more TCP and state informations
[SYNOPSIS] ss [options] [ FILTER ]
Options
-h, --help show help
-V, --version output version information
-n, --numeric don't resolve service names
-r, --resolve resolve host names
-a, --all display all sockets
-l, --listening display listening sockets
-o, --options show timer information
-e, --extended show detailed socket information
-m, --memory show socket memory usage
-p, --processes show process using socket
-i, --info show internal TCP information
-s, --summary show socket usage summary
-b, --bpf bpf フィルターでのソケット情報を表示
-Z, --context display process SELinux security contexts
-z, --contexts display process and socket SELinux security contexts
-4, --ipv4 display only IP version 4 sockets
-6, --ipv6 display only IP version 6 sockets
-t, --tcp display only TCP 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
-f, --family=FAMILY display sockets of type FAMILY
-D, --diag=FILE Dump raw information about TCP sockets to FILE
-F, --filter=FILE read filter information from FILE
FILTER := [ state TCP-STATE ] [ EXPRESSION ]