# sockstat
> List open Internet or UNIX domain sockets.
> More information: <https://www.freebsd.org/cgi/man.cgi?query=sockstat&sektion=1>.
- View which users/processes are listening to which ports:
`sockstat -l`