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...>

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

Back to Sockstat directory