I process the fetched numbers myself in Perl. In Perl I simply do print $value + 0 to have it print a normal number.
There are a number of command line math tools for unx / solaris, but most of them can't do scientific notation. bc and dc for instance don't. Here is a list of tools you can check out: http://www.linuxlinks.com/Software/ProductivityTools/Calculators/ Of them, I know at least calc can handle scientific notation http://www.isthe.com/chongo/tech/comp/calc/index.html Serge. -----Original Message----- From: Fruitman, Corey [mailto:[EMAIL PROTECTED] Sent: Monday, April 14, 2003 8:33 PM To: [email protected] Subject: [rrd-users] Exponential Notation When I perform a fetch using RRDTool, the results returned are in exponential notation. How can I get it to return conventional numbers? To illustrate, here's the result of the data from the RRDTutorial. rrdtool fetch test.rrd AVERAGE --start 920804400 --end 920809200 speed 920804400: NaN 920804700: NaN 920805000: 4.0000000000e-02 920805300: 2.0000000000e-02 920805600: 0.0000000000e+00 920805900: 0.0000000000e+00 920806200: 3.3333333333e-02 920806500: 3.3333333333e-02 920806800: 3.3333333333e-02 920807100: 2.0000000000e-02 920807400: 2.0000000000e-02 920807700: 2.0000000000e-02 920808000: 1.3333333333e-02 920808300: 1.6666666667e-02 920808600: 6.6666666667e-03 920808900: 3.3333333333e-03 920809200: NaN In case this is a function of the OS, I'm running Solaris 6. Any help is appreciated. Thanks in advance. Corey Fruitman Systems Analyst, OSS Development AT&T Canada (Toronto) -- 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
