sockstat Command Examples

List open Internet or UNIX domain sockets. More information: https://man.freebsd.org/cgi/man.cgi?sockstat.

sockstat -l

sockstat -{{4|6}} -l -P {{tcp|udp|sctp|divert}} -p {{port1,port2...}}

sockstat -cnw

sockstat -jv

sockstat -sU

sockstat -CS

sockstat -L

sockstat -qui