David,
1) Instead of calling system() directly, save the command to a string
first and print it out. That will help you check if there are
problems with quotes or other shell special characters. If you're
still having a problem, post the command command line (with variables
substituted) and we c
The Perl script I'm calling system() from does a ton of other stuff
besides generate the graph, so there is a point in this particular
case, but I understand what you mean.
That said, if/when I get things working the way I want with
system(), perhaps then I'll try RRDs.pm methods I guess.
An
On Mon, Apr 23, 2007 at 11:27:22AM -0600, David Ball wrote:
> divide by 8 to get Bytes. From the Perl script I'm using a system()
> call to call rrdtool. The current system() call line I'm using can be
You really ought to use the perl bindings. Using system() really makes no
point in using perl
Hi there. Using a Perl script, I'm creating an RRD that spans
exactly 1 month, with a 300s step, and it's graphing bandwidth
utilisation in BITS per second. I'm calculating inbps and outbps
using something resembling:
DEF:inbps=rrdfile.rrd:bps:MAX
In trying to calculate total Bytes for the