Commit Graph

5 Commits (48ca99694c35d318c5bac09506c751c82aea4f99)

Author SHA1 Message Date
Aneurin Barker Snook 42f69011cc fix wmi version 4 years ago
Adam Lesperance 8a083b8393 Update wmi to go.mod supported version 4 years ago
Tobias Klauser 25b4a07b16 Update github.com/tklauser/go-sysconf to v0.3.6
List of changes: https://github.com/tklauser/go-sysconf/compare/v0.3.4...v0.3.6
4 years ago
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
shirou 005a35c436 [v3 migartion] add v3 sourcodes, and change disk.opts to []string 4 years ago