[mrtg] Re: Graphing 4 things...

alex at ergens.op.Het.Net alex at ergens.op.Het.Net
Mon Jun 5 22:59:19 MEST 2000

Rogier Pelzer wrote:

> i'm looking for a nice solution on the next problem :

> I try to graph an Unixware Memory usage.
> There are 4 values in the "sar | grep Average | tail -n1" (%usr / %sys / %wio and %idle)
> What i want is to see all these values in one graph, or an other nice solution.
> Now i have to graphs with %usr + %sys and %wio + %idle, but as you understand this is not so workable..
> Do you have any idee how to solve this problem ?

The best option is to use RRDtool.  If you can't/won't do so, you can graph
three different values (including %idle) in MRTG by shifting one value
on the Y-axis:

Let the total graph be 100%, graph %usr using the area. Graph
%usr+%sys+%wio using the line.  You will end up with a graph that
looks as if there are three different areas: %usr, (%sys+%wio) on top of
the user time and finally %idle on top of the other two.
The legend should show %usr and %(not-idle)

 / alex at slot.hollandcasino.nl                  alex at ergens.op.het.net \
| work                                                         private |
| My employer is capable of speaking therefore I speak only for myself |
| http://faq.mrtg.org/                                                 |
| http://rrdtool.eu.org  --> tutorial                                  |

Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org

More information about the mrtg mailing list