Try the perl module: Math-RPN-1.08 You can get it at cpan..
-Mark -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Shipley, Rob Sent: Wednesday, December 03, 2003 7:03 PM To: [email protected] Subject: [rrd-users] perl script that uses RPN exactly like rrdtool CDEF I was just wondering if anyone has a perl script that can take RPN math expressions and use them like rrdtool. I am looking for a way to use a CDEF expression and use it outside of rrdtool. For example, push @args, "CDEF:inavbyte=8,ifInOctets,ifSpeed,/,*" for rrdtool could be used in a script to get the same results without using rrdtool graph function: use RPN; $utilization = rpn->(8,ifInOctets,ifSpeed,/,*); Any thoughts? Thanks in advance, Rob -- 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 --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.545 / Virus Database: 339 - Release Date: 11/27/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.545 / Virus Database: 339 - Release Date: 11/27/2003 -- 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
