"CDEF:overweb=realweb,20,GT,20,0 IF", 

Shouldn't that be something like 

        realweb,20,GT,20,0,IF

??

Serge.

-----Original Message-----
From: Nanyi Gong [mailto:[EMAIL PROTECTED] 
Sent: Sunday, January 20, 2002 3:00 PM
To: [email protected]
Subject: [rrd-users] Problem with my perl program..


Hi!

      I have a problem when using PERL and RRDtool to produce GIF file.
If I write in this way: 

    RRDs::graph "web.gif",
    "--title", "web traffic",
    "--start", "1002687600",
    "--end", "1002700800",
    "--imgformat","GIF",
    "--width=640",
    "--vertical-label","in KBps  ",
    "DEF:myweb=open.rrd:web:AVERAGE",
    "CDEF:realweb=myweb,1000,/",
    "AREA:realweb#00FF00",

 I could produce a nice GIF image..But if I add these two lines:

    "CDEF:overweb=realweb,20,GT,20,0 IF", 
    "AREA:overweb#FF0000";

 There will be no image produced..Why?There also no error message??!!

  I'm a beginner of RRDtool and thank you very much for your help in
advance.

                regards,
                  Gong

--
Unsubscribe mailto:[EMAIL PROTECTED]
Help        mailto:[EMAIL PROTECTED]
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi


--
Unsubscribe mailto:[EMAIL PROTECTED]
Help        mailto:[EMAIL PROTECTED]
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

Reply via email to