[rrd-users] x-axis labelling

Petteri Matilainen pmatil at gmail.com
Sun Nov 18 10:44:35 CET 2007


Thanks Alex, it works now. I had the number of minutes in a week, not
seconds. So multiplying it with 60 gave the result it should. P.S. Any info
on why my rrdtool segfaults when defining any VDEF?

-Petteri Matilainen

On 11/17/07, Alex van den Bogaerdt < alex at ergens.op.het.net> wrote:
>
> On Sat, Nov 17, 2007 at 12:45:03PM +0200, Petteri Matilainen wrote:
>
> > I also tried -x DAY:1:WEEK:1:WEEK:1:0:"Week %V" which should give labels
> > each week but the text 'Week 45' is right under the major grid line and
> so
> > on (should be centered on a week interval). I'm confused about the LPR
> > definition. Seconds? I tried to input how many seconds are there in a
> week
> > -> no change. Thanks in advance.
>
> cut'n'paste from some scripts:
>
>         xgrid="DAY:1:WEEK:1:WEEK:2:$((7*86400)):Wk %V"
>         xgrid="MONTH:1:MONTH:1:MONTH:1:$((30*86400)):%b"
>
> maybe you were looking at old graphs?
>
> --
> Alex van den Bogaerdt
> http://www.vandenbogaerdt.nl/rrdtool/
>
> _______________________________________________
> rrd-users mailing list
> rrd-users at lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/rrd-users/attachments/20071118/0102d60e/attachment.html 


More information about the rrd-users mailing list