[rrd-users] gprint issue
Feiyun-Arthur.Wang at nokia.com
Feiyun-Arthur.Wang at nokia.com
Thu May 16 13:30:03 MEST 2002
Content-Type: text/plain;
charset="gb2312"
Content-Transfer-Encoding: quoted-printable
In RedHat 7.0. 2.2.18-4smp #1 SMP
=20
rrdtool -v
RRDtool 1.0.37 Copyright 1997-2001 by Tobias Oetiker < tobi at oetiker.ch>
=20
rrdtool graph cpu.gif --start -14400 \
--vertical-label % \
DEF:user=3Dcpu.rrd:user:AVERAGE \
DEF:sys=3Dcpu.rrd:sys:AVERAGE \
DEF:idle=3Dcpu.rrd:idle:AVERAGE \
DEF:nice=3Dcpu.rrd:nice:AVERAGE \
CDEF:total=3Duser,sys,idle,+,+ \
AREA:user#00FF00:"user" \
STACK:sys#0000FF:"sys" \
STACK:nice#FF00FF:"nice" \
STACK:idle#FF0000:"idle" \
COMMENT:"\n" \
COMMENT:"Total number of users seen" \
COMMENT:"\n" \
GPRINT:total:MAX:%2.0lf \
GPRINT:total:MIN:"Minimum: %2.0le" \
GPRINT:total:AVERAGE:"Average: %6.0lf" \
GPRINT:total:LAST:"Current: %6.0lf\n" \
COMMENT:"Total number of totals seen"
=20
Get the pic=20
=20
Why GPRINT:total:AVERAGE:"Average: %6.0lf" \=20
do not work ?
=20
Thanks
Br/Wang Feiyun
=20
-- Attached file removed by Listar and put at URL below --
-- Type: image/gif
-- Desc: cpu.gif
-- Size: 14k (15238 bytes)
-- URL : http://www.ee.ethz.ch/~slist/pantomime/02-cpu.gif
--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the rrd-users
mailing list