forked from shirou/gopsutil

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 Commit Parent e74324b6
+3 -3
2 changed files
+3 -3
2 changed files