前提

功能

常用选项

案例

  1. # ss -lntup|grep 111
  2. udp UNCONN 0 0 *:111 *:* users:(("rpcbind",968,6))
  3. udp UNCONN 0 0 :::111 :::* users:(("rpcbind",968,9))
  4. tcp LISTEN 0 128 :::111 :::* users:(("rpcbind",968,11))
  5. tcp LISTEN 0 128 *:111 *:* users:(("rpcbind",968,8))
  1. # lsof -i :111
  2. COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
  3. rpcbind 968 rpc 6u IPv4 11275 0t0 UDP *:sunrpc
  4. rpcbind 968 rpc 8u IPv4 11278 0t0 TCP *:sunrpc (LISTEN)
  5. rpcbind 968 rpc 9u IPv6 11280 0t0 UDP *:sunrpc
  6. rpcbind 968 rpc 11u IPv6 11283 0t0 TCP *:sunrpc (LISTEN)

signal列表

05-11 22:24