Commit Graph

4 Commits (e232c1083c5e1389abe21f297bb615285f306955)

Author SHA1 Message Date
mmorel-35 1e6b445a8a gofumpt 3 years ago
James Bebbington 79e9a07263 Add ProcsCreated stat for openbsd 5 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
Marco Pfatschbacher b4846b445b Add support for OpenBSD/amd64
This code is based on the FreeBSD version
and implements roughly the same feature set.
8 years ago