I found that if i remove the %s from the Gprint, it shows me the data in Gb, i mean,
With %s 300.23 m Without %s 0.3 -----Mensaje original----- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En nombre de James Mancini Enviado el: MiƩrcoles, 19 de Diciembre de 2001 17:11 Para: [EMAIL PROTECTED] CC: [email protected] Asunto: [rrd-users] Re: GPRINT doing something weird This is the ancient scaling riddle again. 300 milli-Gigabytes is non-intuitive, but it IS correct, 300 Megabytes or .3 Gig. RRD tends to try to keep the values out of the decimal realm and so will autoscale .3 Gig to 300 milli-Gigs. If you let RRD do _ALL_ the scaling, it works fine. That is, if you send '3,000,000,000' to RRD, it will scale it to 3G, and then when you send '300,000,000' it will scale it to 300M. But if you send '3' and '.3' instead, and change your unit title to "G", you'll get wacky values like '300mG' and similar. We had this problem with Ping results - if you send them in ms, then microseconds come out as 'mms' instead of 'us'. You have to send them in seconds and let RRD do the scaling for it to read correctly. HTH! ____________________________________________________ James Mancini Netreo CCIE #2006, CCSI #23051 <[EMAIL PROTECTED]> V: 949.221.0790x24 Fax: 949.221.0793 PGP Encrypted Email Preferred. Key Fingerprint: 83D9 6221 FF50 038D 096A 9346 AB56 83A3 0B7C 638A ____________________________________________________ http://www.Netreo.net ____________________________________________________ "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." - Benjamin Franklin, 1759. -- 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 -- 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
