Yes, this is my question: "How many percent is the subnet traffic of the total?"
using RPN expressions, I have: subnet = 0.059110 total = 0.176248 using RPN expression 100,subnet,*,total,/ i have 12.02% but using a calculator, where: 100 * subnet = 5.911 / total = 33.53% subnet / total = 0.3353 * 100 = 33.53% What is the problem with RPN expressions?? Thanks Rodrigo Leif Neland wrote: > ---- Original Message ---- > From: <[EMAIL PROTECTED]> > To: "Leif Neland" <[EMAIL PROTECTED]>; <[email protected]> > 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:[EMAIL PROTECTED] Help mailto:[EMAIL PROTECTED] Archive http://lists.ee.ethz.ch/rrd-users WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
