[rrd-users] Re: Simple COUNTER graph output
alex at ergens.op.Het.Net
alex at ergens.op.Het.Net
Wed Apr 5 00:43:14 MEST 2000
Henrique Pantarotto wrote:
>
> I have a simple counter that counts the number of started "pop daemons" in
> my POP3 server.
>
> "rrdtool fetch ../rrdtool/pop/srv6-sao.rrd AVERAGE" returns:
>
> 954852900: 3.47
> 954853200: 3.97
> 954853500: 3.85
[...]
> 954858600: 4.06
> 954858900: 3.84
> 954859200: 4.19
> 954859500: nan
This much? Wow...
> I would really like to show a "process/minute" graph. By how much do I have
> to multiply and/or divide the VAR above when I use the graph function? What
> will the CDEF rule look like?
You now have processes per second. I must say I'm impressed by a number this
big ... If it is correct, just multiply by 60 to get the number of processes
per minute. It is rather simple: suppose you would start 1 per second, you
would be starting 60 in a minute.
If your current variable is named "processespersecond" you can do:
CDEF:processesperminute=processespersecond,60,*
Now you use processesperminute in the "LINE1" statement.
> I read the tutorial, but I didn't understand the part where he multiplies by
> 1000, and by 3600 later...
Please write me off the list with some more details on what you didn't
understand. If possible, suggest a better way.
regards,
--
__________________________________________________________________
/ 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:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive http://www.ee.ethz.ch/~slist/rrd-users
More information about the rrd-users
mailing list