sockstat
List open Internet or UNIX domain sockets. See also:
netstat. More information: https://manned.org/sockstat.
- Show information for IPv4 and IPv6 sockets for both listening and connected sockets:
sockstat
- Show information for IPv[4]/IPv[6] sockets [l]istening on specific [p]orts using a specific p[R]otocol:
sockstat - -l -R -p
- Also show [c]onnected sockets and [u]nix sockets:
sockstat -cu
- Only show sockets of the specified
process_idor process:
sockstat -P
- Only show sockets of the specified
user_idor user:
sockstat -U
- Only show sockets of the specified
group_idor group:
sockstat -G
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
