I'm not sure if you have to do this, Perl does that internally I guess.... Best regards,
Stephan Am Mittwoch, 23. April 2003 16:17 schrieb Tony: > 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:[EMAIL PROTECTED] > > Sent: 23 April 2003 15:05 > > To: Tony; [email protected] > > 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"; -- Stephan Harren Manager Site Operations MFN-IS ------------------------------- Phone +49 69 90554 153 Fax +49 69 90554 111 Cell +49 173 7011126 -- Unsubscribe mailto:[EMAIL PROTECTED] Help mailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
