aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/geth/monitorcmd.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2015-06-28 01:03:31 +0800
committerJeffrey Wilcke <geffobscura@gmail.com>2015-06-30 06:51:29 +0800
commitccbb56b4f2cdba352eaa859ce3e34f999287f5c0 (patch)
treef635a958c376a5ca130ab8cebb830a74a99813c3 /cmd/geth/monitorcmd.go
parent2aeeb72fa5c4f90d0ab072a361a678c3cdee8e26 (diff)
downloadgo-tangerine-ccbb56b4f2cdba352eaa859ce3e34f999287f5c0.tar.gz
go-tangerine-ccbb56b4f2cdba352eaa859ce3e34f999287f5c0.tar.zst
go-tangerine-ccbb56b4f2cdba352eaa859ce3e34f999287f5c0.zip
cmd/geth, eth, ethdb: monitor database compactions
Diffstat (limited to 'cmd/geth/monitorcmd.go')
-rw-r--r--cmd/geth/monitorcmd.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/geth/monitorcmd.go b/cmd/geth/monitorcmd.go
index fe771b561..05965f009 100644
--- a/cmd/geth/monitorcmd.go
+++ b/cmd/geth/monitorcmd.go
@@ -285,7 +285,7 @@ func updateChart(metric string, data []float64, base *int, chart *termui.LineCha
}
// Update the chart's label with the scale units
units := dataUnits
- if strings.Contains(metric, "/Percentiles/") || strings.Contains(metric, "/pauses/") {
+ if strings.Contains(metric, "/Percentiles/") || strings.Contains(metric, "/pauses/") || strings.Contains(metric, "/time/") {
units = timeUnits
}
chart.Border.Label = metric