>($result,$xsize,$ysize) = RRDs::graph ...
>
>but it is unclear for me, how to extract the information from $result? Can
>you explain it to me?

This should make it clearer:

($result,$xsize,$ysize) = RRDs::graph ( $file, @args );
print "The generated graph image in $file is $xsize pixels by $ysize pixels.\n";
foreach my $line ( @$result ) {
  print "print output> $line\n";
}

The first returned value is a pointer to an array of strings, containing the 
PRINT outputs from the RRDs::graph call.

Steve


Steve Shipway
University of Auckland ITS
UNIX Systems Design Lead
s.ship...@auckland.ac.nz
Ph: +64 9 373 7599 ext 86487


_______________________________________________
rrd-users mailing list
rrd-users@lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users

Reply via email to