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/v3
Tobias Klauser ee12f66e4d cpu, v3/cpu: use sysconf package instead of exec'ing getconf
Currently, ClocksPerSec is determined by exec'ing getconf in func init,
i.e. on startup of every program importing the package. getconf might
not be present on some systems or is not executable by the current user.
To avoid this hard to control dependency, use the
github.com/tklauser/go-sysconf package which implements sysconf(3)
entirely in Go without cgo. The package is supported on all platforms
currently supported by the cpu and v3/cpu package of gopsutil.
4 years ago
..
cpu cpu, v3/cpu: use sysconf package instead of exec'ing getconf 4 years ago
disk [v3] rename Label and SerialNumber to all platform from linux specific. 5 years ago
docker [v3 migration] change return type to CgroupCPUStat 5 years ago
host [v3 migration] Fixed temperature sensors detection in Linux #905 5 years ago
internal/common delete unused PdhAddCounterW 4 years ago
load Fix windows counters on non english systems 4 years ago
mem [mem][linux] Fix #1002 only try to parse /proc/meminfo numeric values on fields we're interested in 5 years ago
net Fix lsof args for udp4 in unix 4 years ago
process [process] fix MemoryInfo comment. remove Swap 4 years ago
winservices [v3 migartion] add v3 sourcodes, and change disk.opts to []string 5 years ago
Makefile [v3 migartion] add v3 sourcodes, and change disk.opts to []string 5 years ago
go.mod cpu, v3/cpu: use sysconf package instead of exec'ing getconf 4 years ago
go.sum cpu, v3/cpu: use sysconf package instead of exec'ing getconf 4 years ago