aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/geth/monitorcmd.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2015-06-25 21:19:42 +0800
committerPéter Szilágyi <peterke@gmail.com>2015-06-25 21:19:42 +0800
commite9c0b5431cbd7430ddec9fd17983241018fd8a55 (patch)
treeb61f54ee4991753f510292a1606d43e4626507f7 /cmd/geth/monitorcmd.go
parentfdbf8be7356cb8a80c6fdfe0d24b0863903e1832 (diff)
downloaddexon-e9c0b5431cbd7430ddec9fd17983241018fd8a55.tar.gz
dexon-e9c0b5431cbd7430ddec9fd17983241018fd8a55.tar.zst
dexon-e9c0b5431cbd7430ddec9fd17983241018fd8a55.zip
cmd/geth: finalize mem stats
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 43937dcaa..bb9c61a00 100644
--- a/cmd/geth/monitorcmd.go
+++ b/cmd/geth/monitorcmd.go
@@ -282,7 +282,7 @@ func updateChart(metric string, data []float64, chart *termui.LineChart, err err
chart.Border.Label = metric
units := dataUnits
- if strings.Contains(metric, "Percentiles") {
+ if strings.Contains(metric, "/Percentiles/") || strings.Contains(metric, "/pauses/") {
units = timeUnits
}
if len(units[unit]) > 0 {