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/internal/common
elij d1380cba29 try to fix diskio stats on FreeBSD-10.x
FreeBSD apparently changed the magic sysctl mib values for devstats.

    --- FAIL: TestDisk_io_counters (0.00s)
    disk_test.go:39: error no such file or directory
    disk_test.go:42: ret is empty, map[]

This code uses an undocumented, but exported, go stdlib method to fetch
the sysctl by string instead of mib.
9 years ago
..
common.go fix typos 10 years ago
common_darwin.go common: rename package common to internal/common. Add ENV helper funcs. 10 years ago
common_freebsd.go try to fix diskio stats on FreeBSD-10.x 9 years ago
common_linux.go common: rename package common to internal/common. Add ENV helper funcs. 10 years ago
common_test.go common: rename package common to internal/common. Add ENV helper funcs. 10 years ago
common_unix.go process[linux,freebsd,darwin]: implements Children using pgrep. 10 years ago
common_windows.go common: rename package common to internal/common. Add ENV helper funcs. 10 years ago