If it is, I'm not finding it. I'm also not finding it in homebrew. Looking around, the FreeBSD original is in C, but there is a perl script version of the same name and somewhat similar description (I did not compare in detail, and I doubt some of the FreeBSD features are feasible on macOS).
https://github.com/freebsd/freebsd-src/tree/main/usr.bin/sockstat <https://github.com/freebsd/freebsd-src/tree/main/usr.bin/sockstat> https://github.com/pj4dev/Mac-Sockstat <https://github.com/pj4dev/Mac-Sockstat> The programs lsof and netstat that come with macOS may provide most of the same information, even if the usage, selection ability, and output format are different. > On May 12, 2023, at 12:42, André-John Mas <andrejohn....@gmail.com> wrote: > > Hi, > > Is sockstat available in MacPorts, via a port'. I couldn't find it when > search for it directly or as 'sostat' (homebrew formula name). > > Thanks > > Andre >