cmd/geth, metrics: separate process metric collection, add disk
This commit is contained in:
committed by
Jeffrey Wilcke
parent
7c4ed8055c
commit
2aeeb72fa5
9
metrics/disk.go
Normal file
9
metrics/disk.go
Normal file
@ -0,0 +1,9 @@
|
||||
package metrics
|
||||
|
||||
// DiskStats is the per process disk io stats.
|
||||
type DiskStats struct {
|
||||
ReadCount int64 // Number of read operations executed
|
||||
ReadBytes int64 // Total number of bytes read
|
||||
WriteCount int64 // Number of write operations executed
|
||||
WriteBytes int64 // Total number of byte written
|
||||
}
|
Reference in New Issue
Block a user