cmd/geth, metrics: separate process metric collection, add disk

This commit is contained in:
Péter Szilágyi
2015-06-27 18:12:58 +03:00
committed by Jeffrey Wilcke
parent 7c4ed8055c
commit 2aeeb72fa5
5 changed files with 130 additions and 22 deletions

10
metrics/disk_nop.go Normal file
View File

@ -0,0 +1,10 @@
// +build !linux
package metrics
import "errors"
// ReadDiskStats retrieves the disk IO stats belonging to the current process.
func ReadDiskStats(stats *DiskStats) error {
return errors.New("Not implemented")
}