[rrd-users] changig the diplay of Y values

Andras Horvai andras.horvai at keystone.hu
Fri Apr 16 13:13:19 MEST 2004


Hi List,
I want to display the memory usage of my servers. The data collection and the rrd database
feeding works fine. I collect the data in megabytes and I want to display it in megabytes but if
you take a look to the attached picture, the rrdtool cahnges the values in kilo. How can I disable this?
I want the exact values in the Y axis.

the graphing method:

/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Server - - Memory Usage" \
--rigid \
--base=1024 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="megabytes" \
DEF:a="/home/cacti/rra/server_finances_used_886.rrd":used:AVERAGE \
DEF:b="/home/cacti/rra/server_finances_used_886.rrd":free:AVERAGE \
DEF:c="/home/cacti/rra/server_finances_used_886.rrd":realmem:MAX \
AREA:a#FF0000:"Used memory"  \
GPRINT:a:LAST:"Current\:%8.2lf %s"  \
GPRINT:a:AVERAGE:"Avg\:%8.2lf %s"  \
GPRINT:a:MIN:"Min\:%8.2lf %s"  \
GPRINT:a:MAX:"Max\:%8.2lf %s\n"  \
STACK:b#FFF200:"Free memory"  \
GPRINT:b:LAST:"Current\:%8.2lf %s"  \
GPRINT:b:AVERAGE:"Avg\:%8.2lf %s"  \
GPRINT:b:MIN:"Min\:%8.2lf %s"  \
GPRINT:b:MAX:"Max\:%8.2lf %s"  \
LINE2:c#000000:"" 

Thanks,

Andras

-- Attached file removed by Ecartis and put at URL below --
-- Type: image/jpeg
-- Size: 40k (41506 bytes)
-- URL : http://www.ee.ethz.ch/~slist/p/mem.JPG


--
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