share/collection.conf: Improve configuration of the "swap" graph.
[collection4.git] / share / collection.conf
index 3a88363..f4e12ea 100644 (file)
     DSName "read"
     Legend "Read "
     Color "0000ff"
+    Format "%5.1lf%s"
   </DEF>
   <DEF>
     DSName "write"
     Legend "Write"
     Color "00bf00"
+    Format "%5.1lf%s"
   </DEF>
 </Graph>
 
 
   Title "Swap utilization"
   VerticalLabel "Bytes"
+
+  <DEF>
+    TypeInstance "free"
+    DSName "value"
+    Legend "Free  "
+    Color "00e000"
+    Area true
+    Stack true
+    Format "%5.1lf%s"
+  </DEF>
+  <DEF>
+    TypeInstance "cached"
+    DSName "value"
+    Legend "Cached"
+    Color "ffb000"
+    Area true
+    Stack true
+    Format "%5.1lf%s"
+  </DEF>
+  <DEF>
+    TypeInstance "used"
+    DSName "value"
+    Legend "Used  "
+    Color "ff0000"
+    Area true
+    Stack true
+    Format "%5.1lf%s"
+  </DEF>
 </Graph>
 
 <Graph>