From 2aeeb72fa5c4f90d0ab072a361a678c3cdee8e26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A9ter=20Szil=C3=A1gyi?= Date: Sat, 27 Jun 2015 18:12:58 +0300 Subject: cmd/geth, metrics: separate process metric collection, add disk --- metrics/disk.go | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 metrics/disk.go (limited to 'metrics/disk.go') diff --git a/metrics/disk.go b/metrics/disk.go new file mode 100644 index 000000000..1b6c56773 --- /dev/null +++ b/metrics/disk.go @@ -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 +} -- cgit v1.2.3