contrib/collection.cgi: Fix the ps_rss graph.
authorFlorian Forster <octo@noris.net>
Wed, 7 Nov 2007 09:33:51 +0000 (09:33 +0000)
committerFlorian Forster <octo@noris.net>
Wed, 7 Nov 2007 09:33:51 +0000 (09:33 +0000)
contrib/collection.cgi

index 33f1351..9ea03eb 100755 (executable)
@@ -1968,9 +1968,9 @@ sub load_graph_definitions
     'GPRINT:sleeping_avg:LAST:%5.1lf Last\l'
     ],
     ps_rss => [
-    'DEF:avg={file}:byte:AVERAGE',
-    'DEF:min={file}:byte:MIN',
-    'DEF:max={file}:byte:MAX',
+    'DEF:avg={file}:value:AVERAGE',
+    'DEF:min={file}:value:MIN',
+    'DEF:max={file}:value:MAX',
     "AREA:avg#$HalfBlue",
     "LINE1:avg#$FullBlue:RSS",
     'GPRINT:min:MIN:%5.1lf%s Min,',