diff options
author | Péter Szilágyi <peterke@gmail.com> | 2015-06-25 21:19:42 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2015-06-25 21:19:42 +0800 |
commit | e9c0b5431cbd7430ddec9fd17983241018fd8a55 (patch) | |
tree | b61f54ee4991753f510292a1606d43e4626507f7 /cmd/geth/monitorcmd.go | |
parent | fdbf8be7356cb8a80c6fdfe0d24b0863903e1832 (diff) | |
download | dexon-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.go | 2 |
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 { |