mirror of https://github.com/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>pull/1551/head
parent
e74324b6a7
commit
a8418dfd73
Loading…
Reference in New Issue