Something went wrong. Try again.
forked from shirou/gopsutil
Something went wrong. Try again.
feat: use lsof for net_connections on FreeBSD
Use net.ConnectionsPidWithContext on FreeBSD, similarly to how it is done on Darwin. This uses common.CallLsofWithContext underneath the hood, which will use lsof under the hood, if available. Tested on FreeBSD 13.2-RELEASE Signed-off-by: Chris Gianelloni <wolf31o2@blinklabs.io>
Author Chris Gianelloni Date (Nov 9, 2023, 11:19 PM UTC) Commit
Copy SHA
Parent e74324b6 e74324b6a726997ce756b8f79dbbd7a3a0999ba0