X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=doc%2FRRDp.html;h=a27a2118bf508afe0d8654c06f20aea3c534c92d;hb=645054bac6187b0e83fd4125fd59e4feda216b64;hp=56cd79e7644e52df3b02e82e87a61066cb2dc30b;hpb=8892808f3a79ec485e273390213ef3f16792eb54;p=pkg-rrdtool.git diff --git a/doc/RRDp.html b/doc/RRDp.html index 56cd79e..a27a211 100644 --- a/doc/RRDp.html +++ b/doc/RRDp.html @@ -9,8 +9,10 @@ -

+ +
+

+ + +

@@ -51,23 +57,25 @@ data, RRDp::read will return an undefined variable.

If you import the PERFORMANCE variables into your namespace, you can access RRDtool's internal performance measurements.

-
use RRDp
+
use RRDp

Load the RRDp::pipe module.

-
RRDp::start path to RRDtool executable
+
RRDp::start path to RRDtool executable

start RRDtool. The argument must be the path to the RRDtool executable

-
RRDp::cmd rrdtool commandline
+
RRDp::cmd rrdtool commandline

pass commands on to RRDtool. check the RRDtool documentation for more info on the RRDtool commands.

+

Note: Due to design limitations, RRDp::cmd does not support the +graph - command - use graphv - instead.

-
$answer = RRDp::read
+
$answer = RRDp::read

read RRDtool's response to your command. Note that the $answer variable will @@ -77,12 +85,12 @@ and we don't want to copy this around in memory. So when you want to access the contents of $answer you have to use $$answer which dereferences the variable.

-
$status = RRDp::end
+
$status = RRDp::end

terminates RRDtool and returns RRDtool's status ...

-
$RRDp::user, $RRDp::sys, $RRDp::real
+
$RRDp::user, $RRDp::sys, $RRDp::real

these variables will contain totals of the user time, system time and @@ -93,7 +101,7 @@ is the total time RRDtool has been running.

waiting for things like the hard disk and new input from the perl script.

-
$RRDp::error_mode and $RRDp::error
+
$RRDp::error_mode and $RRDp::error

If you set the variable $RRDp::error_mode to the value 'catch' before you run RRDp::read a potential