[rrd-users] Re: Text formatting.

steve rader rader at teak.wiscnet.net
Thu Oct 7 21:56:49 MEST 1999


 > From: Chris Josephes
 > In my latest test, it works with a format of %7.3lf.  I have carriage
 > returns at the end of the LAST GPRINTS.  But I have a feeling the SI
 > magnitude could conceivably still throw the "columns" off if it is
 > composed of multiple characters.

The SI that replaces %s should always be one char... rrd_graph.c
reads...

    char *symbol[] = {"a", /* 10e-18 Ato */
                      "f", /* 10e-15 Femto */
                      "p", /* 10e-12 Pico */
                      "n", /* 10e-9  Nano */
                      "u", /* 10e-6  Micro */
                      "m", /* 10e-3  Milli */
                      " ", /* Base */
                      "k", /* 10e3   Kilo */
                      "M", /* 10e6   Mega */
                      "G", /* 10e9   Giga */
                      "T", /* 10e12  Terra */
                      "P", /* 10e15  Peta */
                      "E"};/* 10e18  Exa */

later
steve
- - -
systems guy
wiscnet.net

--
* To unsubscribe from the rrd-users mailing list, send a message with the
  subject: unsubscribe to rrd-users-request at list.ee.ethz.ch



More information about the rrd-users mailing list