Code

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 33f13510f88e06d2c158f81ebdf93beb850ad331..9ea03ebeb9bec960fae5569d64178690496554f8 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,',