bluesky786 wrote:
> i am very thankful to you for sharing such a magic "--units-exponent=3".
> 
> may you would like to explain in more detail that what actually happened 
> there when i entered your give value.....
> 
> Thanks a lot   :D :D :D

Sure.  The docs on this can be found here 
(http://oss.oetiker.ch/rrdtool/doc/rrdgraph.en.html#IY_Grid).

Here's an except:
> This sets the 10**exponent scaling of the y-axis values. Normally, values 
> will be scaled to the appropriate units (k, M, etc.). However, you may wish 
> to display units always in k (Kilo, 10e3) even if the data is in the M (Mega, 
> 10e6) range, for instance. Value should be an integer which is a multiple of 
> 3 between -18 and 18 inclusively. It is the exponent on the units you wish to 
> use. For example, use 3 to display the y-axis values in k (Kilo, 10e3, 
> thousands), use -6 to display the y-axis values in u (Micro, 10e-6, 
> millionths). Use a value of 0 to prevent any scaling of the y-axis values.


You're essentially setting the number of digits to exclude from display.  If 
you wanted 1s units you'd use a value of 0, 1/1000s you'd use -3, etc.

SI unit prefixes are explained here (http://en.wikipedia.org/wiki/SI_prefix).

That's pretty sad that an "expert" claimed that it is not possible when it's 
right there in the documentation! :D




-------------------- m2f --------------------

Read this topic online here:
http://community.zenoss.com/forums/viewtopic.php?p=19961#19961

-------------------- m2f --------------------



_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to