[rrd-users] Re: PERCENT question
Leif Neland
leif at neland.dk
Wed Dec 28 08:49:53 MET 2005
---- Original Message ----
From: <rodrigo.santos at quantiza.com>
To: "Leif Neland" <leif at neland.dk>; <rrd-users at list.ee.ethz.ch>
Sent: Tuesday, December 27, 2005 6:44 PM
Subject: Re: [rrd-users] PERCENT question
> Not exactly...
>
> It imagines that you it has one subnet with a certain traffic. Now you
> want to know which percentage of traffic on a total, this subnet you
> indicate?
>
> then:
>
> total - 100%
> subnet - x: subnet * 100 / total
>
> how I make this using rrdtool?
>
> Rodrigo
>
I still don't understand.
The variables you show above is:
total
subnet
x
What do you mean by "x: subnet"
Do I understand your question right as:
"How many percent is the subnet traffic of the total?"
Answer: 100*(subnet/total)
RPN: 100 subnet * total /
Leif
--
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://lists.ee.ethz.ch/rrd-users
WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
More information about the rrd-users
mailing list