[rrd-users] Re: graphing week,month,year - newbie

Cliff Daniel cdaniel at Level3.net
Mon Mar 27 23:14:47 MEST 2000


I use a standard template in the perl module.

    @daily = (
        "-w $WIDTH", "-h $HEIGHT",
        "--title", "$ARGV[0] Weekly Graph",
        "--start", (-1.1 * 24*60*60),
    );
    @weekly = (
        "-w $WIDTH", "-h $HEIGHT", "--lower-limit", 0,
        "--title", "$ARGV[0] Weekly Graph",
        "--start", (-7.1 * 24*60*60)
    );
    @monthly = (
        "-w $WIDTH", "-h $HEIGHT", "--lower-limit", 0,
        "--title", "$ARGV[0] Monthly Graph",
        "--start", (-30.1 * 24*60*60)
    );
    @yearly = (
        "-w $WIDTH", "-h $HEIGHT", "--lower-limit", 0,
        "--title", "$ARGV[0] Yearly Graph",
        "--start", (-365 * 24*60*60)
    ); 

Regards,
Cliff


Kathy Matthews <kathy at alexia.net.au> writes:
> Hi,
> 
> I'm happily collecting stats but have no idea how to graph the weekly,
> monthly, yearly totals.  I've read suggestions about using print, etc but I
> still can't get it to work.
> 
> Are there any examples that someone can point me to?  I can't seem to get
> the syntax right.
> 
> TIA,
> 
> Kathy
> 
> --
> 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

-- 
Cliff Daniel
Level 3 Communications

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



More information about the rrd-users mailing list