Commit Graph

5 Commits (cf565e04b88f653c79af52531458a1856c25c211)

Author SHA1 Message Date
shirou 0969c9436b delete v2 directory, move v3 to top #1078 3 years ago
James Bebbington 79e9a07263 Add ProcsCreated stat for openbsd 5 years ago
shirou 145dca90f7 change to use CommandContext. 7 years ago
shirou 4c73494c78 Add WithContext functions. 7 years ago
Steven Hartland 6450c60b61 Eliminate use of sysctl command on FreeBSD
In order to improve performance and help prevent crashes due to the outstanding fork crash bug:
https://github.com/golang/go/issues/15658

Replace string parsed values from the sysctl command with native reads of sysctl values using unix.SysctlRaw and unix.SysctlUint32.

This also merges OpenBSD and FreeBSD load implementations which are identical.
8 years ago