[rrd-users] Re: 95th percentile
Tony
rrdtool at cerbernet.co.uk
Wed Apr 23 16:17:43 MEST 2003
Excellent..
Thanks for that Stephan.
I've written a perl script to convert the data from the database from
scientific notation to real values, so all I have to do is plug it into
your script.
Thanks again for your help.
Tony
> -----Original Message-----
> From: Stephan Harren [mailto:sh at abovenet.de]
> Sent: 23 April 2003 15:05
> To: Tony; rrd-users at list.ee.ethz.ch
> Subject: Re: [rrd-users] Re: 95th percentile
>
> Ugh, small bug: last line should be KBits !!!
>
> Best regards,
>
> Stephan
>
> >
$percentile95=sprintf("%.2f",($allvalues[(sprintf("%.0f",(@allvalues*0.9
5))
> >-1)]*8/1000)); print "$percentile95 KBytes\n";
--
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