mirror of https://github.com/shirou/gopsutil
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.pull/148/head
parent
cc040ddf72
commit
d1380cba29
Loading…
Reference in New Issue