summaryrefslogtreecommitdiffhomepage
path: root/src/Plugins/Monitors/Top.hs
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2014-08-12 02:53:24 +0200
committerjao <jao@gnu.org>2014-08-12 03:54:34 +0200
commitbbaf4e5800e6f5dea7ff3e09f260a94b5d432091 (patch)
tree791f6b5f81ea47b612148aeaaafbcbee56fc42b8 /src/Plugins/Monitors/Top.hs
parentd9b24473ce65c6ce7f5bdea8c7d6eee07a62461e (diff)
downloadxmobar-bbaf4e5800e6f5dea7ff3e09f260a94b5d432091.tar.gz
xmobar-bbaf4e5800e6f5dea7ff3e09f260a94b5d432091.tar.bz2
Top: these days, processes consuming > 1Gb RAM are seen in the wild
Diffstat (limited to 'src/Plugins/Monitors/Top.hs')
-rw-r--r--src/Plugins/Monitors/Top.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Plugins/Monitors/Top.hs b/src/Plugins/Monitors/Top.hs
index 6be3c1c..3d246ff 100644
--- a/src/Plugins/Monitors/Top.hs
+++ b/src/Plugins/Monitors/Top.hs
@@ -1,7 +1,7 @@
-----------------------------------------------------------------------------
-- |
-- Module : Plugins.Monitors.Top
--- Copyright : (c) Jose A Ortega Ruiz
+-- Copyright : (c) 2010, 2011, 2012, 2013, 2014 Jose A Ortega Ruiz
-- License : BSD-style (see LICENSE)
--
-- Maintainer : Jose A Ortega Ruiz <jao@gnu.org>
@@ -101,7 +101,7 @@ meminfos = handleProcesses meminfo
showMemInfo :: Float -> MemInfo -> Monitor [String]
showMemInfo scale (nm, rss) =
- showInfo nm (showWithUnits 2 1 rss) (100 * rss / sc)
+ showInfo nm (showWithUnits 3 1 rss) (100 * rss / sc)
where sc = if scale > 0 then scale else 100
showMemInfos :: [MemInfo] -> Monitor [[String]]