sockstat
Verified for current stable LTS
Sockstat Command: List Sockets By Ip And Port Protocol
Use for list sockets by ip and port protocol with Sockstat. Exact CLI syntax to list sockets by ip and port protocol using Sockstat.
When to use this: Use for list sockets by ip and port protocol with Sockstat.
Command Syntax
sockstat -<4|6> -l -P <tcp|udp|sctp|divert> -p <port1,port2...> sockstat -<4|6> -l -P <tcp|udp|sctp|divert> -p <port1,port2...> Live Command Builder
Final Command
sockstat -<4|6> -l -P <tcp|udp|sctp|divert> -p <port1,port2...> Command Breakdown
-<4|6>- Command Option
- Tool-specific option used by this command invocation.
-l- Command Option
- Tool-specific option used by this command invocation.
-P- Command Option
- Tool-specific option used by this command invocation.
-p- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to list sockets by ip and port protocol using Sockstat.
Test path: Replace placeholders and run destructive commands in a disposable workspace first.
Flag behavior: Tool version, platform, and shell can change behavior.
Improve This Command
Suggest a correction, safer default, or version-specific note for this entry.
Related Operations
Sockstat Command: Display Congestion Control Module Protocol Stack
sockstat -CS Sockstat Command: Display Protocol State Remote Udp Port sockstat -sU Sockstat Command: List Connected And Unix Sockets Linux sockstat -cu Sockstat Command: List Listening Sockets Specific Ports Linux sockstat -<4|6> -l -R <tcp|udp|raw|unix> -p <port1,port2...> Sockstat Command: List Open Sockets Freebsd sockstat