sockstat: split FreeBSD, NetBSD and Linux implementations (#12040)

* sockstat: split FreeBSD, NetBSD and Linux implementations

---------

Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Co-authored-by: Juri Dispan <juri.dispan@posteo.net>
Co-authored-by: cyqsimon <28627918+cyqsimon@users.noreply.github.com>
This commit is contained in:
Vitor Henrique
2024-01-15 06:59:11 -03:00
committed by GitHub
parent 5f02ba680a
commit 38e6ff18fa
4 changed files with 91 additions and 8 deletions

View File

@@ -1,8 +0,0 @@
# 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`