[rrd-users] Graph range ?

Daniel.Kurucz at varetis.de Daniel.Kurucz at varetis.de
Tue Nov 21 13:56:33 MET 2000


Hi all,

I`m new to RRD and have some problems, when creating graphs.

I try to create graphs for 1-day, 1-week, and 1-month intervals. I created
the database as follows :

./rrdtool create /home/rrd/kibo_cpu.dbf \
DS:User:GAUGE:900:0:100 \
DS:System:GAUGE:900:0:100 \
DS:IOWait:GAUGE:900:0:100 \
RRA:AVERAGE:0.5:1:300 \
RRA:AVERAGE:0.5:6:340 \
RRA:AVERAGE:0.5:24:380

The last two RRAs are for the week and month data. But, if I use "rrdtool
graph", like this :

$RRDPTH/$RRDCMD graph $GIFDIR/$GIFDAY --title "kibo CPU stats 1 day (last
update : $ACTIME)" \
                DEF:usr=$WRKDIR/$DBFFIL:User:AVERAGE \
                DEF:sys=$WRKDIR/$DBFFIL:System:AVERAGE \
                DEF:iow=$WRKDIR/$DBFFIL:IOWait:AVERAGE \
                AREA:usr#FF0000:"User mode" \
                AREA:sys#00FF00:"System mode" \
                AREA:iow#0000FF:"I/O Wait" >/dev/null

then it only creates a graph for the last day. How can I suggest him, to
create a week- or month-graph ?

Thnx
Daniel


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