[rrd-users] how correctly make speed graphics

Steve Shipway s.shipway at auckland.ac.nz
Thu May 26 01:57:11 CEST 2011


>     "VDEF:in_avg=in,LAST",
>     "VDEF:out_avg=out,LAST",
>     "GPRINT:in_avg:Speed IN\\: \%6.2lf\%S kbyte",
>     "GPRINT:out_avg: OUT\\: \%6.2lf\%s kbyte",

This is not right.  The %s in the GPRINT is replaced with the magnitude prefix (k,M,G) so you should use the standard unit as the suffix.  Else, youll see '1k kbyte' if the value is 1000 and '1 kbyte' if the value is 1. You should use:

>     "GPRINT:out_avg: OUT\\: \%6.2lf \%sbyte",

Steve

Steve Shipway
ITS Unix Services Design Lead
University of Auckland, New Zealand
Floor 1, 58 Symonds Street, Auckland
Phone: +64 (0)9 3737599 ext 86487
DDI: +64 (0)9 924 6487
Mobile: +64 (0)21 753 189
Email: s.shipway at auckland.ac.nz
 Please consider the environment before printing this e-mail 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4928 bytes
Desc: not available
Url : http://lists.oetiker.ch/pipermail/rrd-users/attachments/20110525/c8c854c9/attachment-0001.bin 


More information about the rrd-users mailing list