add diskstats on Darwin (#593)
* Add diskstats collector for Darwin * Update year in the header * Update README.md * Add github.com/lufia/iostat to vendored packages * Change stats to follow naming guidelines * Add a entry of github.com/lufia/iostat into vendor.json * Remove /proc/diskstats from description
This commit is contained in:
parent
ab3414e6fd
commit
a077024f51
10 changed files with 440 additions and 1 deletions
12
vendor/github.com/lufia/iostat/iostat_linux.go
generated
vendored
Normal file
12
vendor/github.com/lufia/iostat/iostat_linux.go
generated
vendored
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
// +build !darwin
|
||||
|
||||
package iostat
|
||||
|
||||
import (
|
||||
"errors"
|
||||
)
|
||||
|
||||
// ReadDriveStats returns statictics of each of the drives.
|
||||
func ReadDriveStats() ([]*DriveStats, error) {
|
||||
return nil, errors.New("not implement")
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue