You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gopsutil/load
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
..
load.go [BREAKING CHANGE] rename functions to pass golint. ex) net.NetIOCounters -> net.IOCounters 9 years ago
load_bsd.go Eliminate use of sysctl command on FreeBSD 8 years ago
load_darwin.go fixed by golint. 9 years ago
load_fallback.go Add support for OpenBSD/amd64 8 years ago
load_linux.go [BREAKING CHANGE] rename functions to pass golint. ex) net.NetIOCounters -> net.IOCounters 9 years ago
load_test.go [load] freebsd: change to use x/sys/unix.SysctlRaw. 8 years ago
load_windows.go fixed by golint. 9 years ago