[rrd-users] AW: AW: calculating percentage
Thorsten Volkmer-Wolf
Thorsten.Volkmer-Wolf at aerotec.de
Thu Jan 22 14:34:33 MET 2004
I Think you will have to provide additional RRAs in your RRD, where you'd store the percentage values. It's up to you to calculate those valuas in your script which is collecting the datas or to use the bultin calculation possibilities with CDEF (see the tutorials).
Hope this helps??
Regards,
Thorsten
-----Ursprungliche Nachricht-----
Von: Giorgos Georgiadis [mailto:georgio at ccf.auth.gr]
Gesendet: Donnerstag, 22. Januar 2004 11:14
An: Thorsten Volkmer-Wolf
Cc: rrd-users at list.ee.ethz.ch
Betreff: Re: AW: [rrd-users] calculating percentage
the problem is this (for example):
if the maximum rate for a day for http protocol is x MB/s,
how can i divide x with the total maximum rate?
(how can i have a variable x with the maximum rate for http..?)
Thorsten Volkmer-Wolf wrote:
>
> ??? How about this: take the bytes counted for a specific protocol and divide it by the total amount of bytes. The result has to be multiplied with 100, and there you are.
>
> But i don't think this was is really answering the question you had, eh?
>
> Regards,
>
> Thorsten
>
> -----Ursprungliche Nachricht-----
> Von: Giorgos Georgiadis [mailto:georgio at ccf.auth.gr]
> Gesendet: Donnerstag, 22. Januar 2004 09:05
> An: rrd-users at list.ee.ethz.ch
> Betreff: [rrd-users] calculating percentage
>
> hello all.
>
> i use rrdtool to generate daily, weekly, monthly and yearly graphs for
> the traffic of my router. In the graph i provide numeric values about
> the maximum, average and current traffic (for some protocols). Is there
> a way to calculate percentages (xx%) for every protocol for every column
> (maximum-average-current) ?
>
> any help will be appreciated
>
> --
> 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
> WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
--
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
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the rrd-users
mailing list