Fix mem to accumulate instead of setting last
[khome.git] / home / lib / login_functions.sh
index c34263f..2577531 100644 (file)
@@ -521,7 +521,7 @@ motd() {
             n = split(cmd, path, "/")  # _may_ be a path
             proc = path[n]
             total += rss
-            by_proc[proc] = rss
+            by_proc[proc] += rss
         }
 
         END {
This page took 0.025992 seconds and 4 git commands to generate.