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/disk
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
..
binary.go disk: forget to add some files. 10 years ago
disk.go disk[freebsd,darwin,windows]: add fstype to DiskUsageStat. 10 years ago
disk_darwin.go common[all]: add internal 10 years ago
disk_darwin_amd64.go change package name. 11 years ago
disk_freebsd.go try to fix diskio stats on FreeBSD-10.x 9 years ago
disk_freebsd_386.go [disk] fix build for freebsd 386 10 years ago
disk_freebsd_amd64.go disk: add disk_io_counter to FreeBSD by using sysctl(kern.devstat.all). 10 years ago
disk_linux.go common: rename package common to internal/common. Add ENV helper funcs. 10 years ago
disk_test.go disk[freebsd]: update devstat mib. 10 years ago
disk_unix.go disk[unix]: revert 61cb121. psutil uses Available as Free. 10 years ago
disk_windows.go common[all]: add internal 10 years ago
types_freebsd.go disk: forget to add some files. 10 years ago