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
Cameron Sparr da43049324 Fix potential panic in linux disk IO counters
Old kernels have a bug in diskstats where lines can have less than 14
fields. This applies to the kernel present in RHEL 5.2 and earlier.

It's a bit of a niche but probably best to patch to be safe from future
bugs too.

RHEL bug case:
https://bugzilla.redhat.com/show_bug.cgi?id=583285

Encountered in Telegraf:
https://github.com/influxdata/telegraf/issues/1322
9 years ago
..
disk.go add Timeout to invoke command and use common.Invoke refs: #201 9 years ago
disk_darwin.go [disk]darwin,freebsd: implements 'all' argument. 9 years ago
disk_darwin_amd64.go change package name. 11 years ago
disk_darwin_arm64.go Fix compile errors for iOS/arm64 9 years ago
disk_freebsd.go [disk]darwin,freebsd: implements 'all' argument. 9 years ago
disk_freebsd_386.go [disk]freebsd: update 386. 9 years ago
disk_freebsd_amd64.go Merge branch 'master' into v2 9 years ago
disk_linux.go Fix potential panic in linux disk IO counters 9 years ago
disk_test.go [disk]freebsd: update 386. 9 years ago
disk_unix.go [BREAKING CHANGE] rename functions to pass golint. ex) net.NetIOCounters -> net.IOCounters 9 years ago
disk_windows.go [BREAKING CHANGE] rename functions to pass golint. ex) net.NetIOCounters -> net.IOCounters 9 years ago
types_freebsd.go [disk]freebsd: change to use C.sizeof_struct. 9 years ago