X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=doc%2FRRDs.html;h=71b6a68bbefe76abd93df66469f793f8219d6ba0;hb=645054bac6187b0e83fd4125fd59e4feda216b64;hp=fc71f3c5070ade0a7592e8e0ddeab93b3d3fe32a;hpb=be3cca08c4031f46d4e2b872ab0eb825c5b69b4e;p=pkg-rrdtool.git diff --git a/doc/RRDs.html b/doc/RRDs.html index fc71f3c..71b6a68 100644 --- a/doc/RRDs.html +++ b/doc/RRDs.html @@ -9,8 +9,10 @@ -

+ +
+

+ + +

@@ -52,7 +58,8 @@ RRDs::tune ... RRDs::times(start, end) RRDs::dump ... - RRDs::restore ... + RRDs::restore ... + RRDs::flushcached ...


@@ -60,9 +67,9 @@

Calling Sequence

-

This module accesses RRDtool functionality directly from within perl. The +

This module accesses RRDtool functionality directly from within Perl. The arguments to the functions listed in the SYNOPSIS are explained in the regular -RRDtool documentation. The commandline call

+RRDtool documentation. The command line call

  rrdtool update mydemo.rrd --template in:out N:12:13

gets turned into

@@ -72,7 +79,7 @@ RRDtool documentation. The commandline call

  --template=in:out

is also valid.

-

The RRDs::times function takes two parameters: a ``start'' and ``end'' time. +

The RRDs::times function takes two parameters: a "start" and "end" time. These should be specified in the AT-STYLE TIME SPECIFICATION format used by RRDtool. See the rrdfetch documentation for a detailed explanation on how to specify time.

@@ -111,7 +118,7 @@ the values of the properties.

foreach my $key (keys %$hash){ print "$key = $$hash{$key}\n"; } -

RRDs::graphv takes the same paramters as RRDs::graph but it returns a +

RRDs::graphv takes the same parameters as RRDs::graph but it returns a pointer to hash. The hash returned contains meta information about the graph. Like its size as well as the position of the graph area on the image. When calling with and empty filename than the contents of the graph will be @@ -139,14 +146,14 @@ integers, a pointer to an array and a pointer to a array of pointers.

print "\n"; }

RRDs::times returns two integers which are the number of seconds since -epoch (1970-01-01) for the supplied ``start'' and ``end'' arguments, respectively.

+epoch (1970-01-01) for the supplied "start" and "end" arguments, respectively.

See the examples directory for more ways to use this extension.


NOTE

-

If you are manipulating the TZ variable you should also call the posixs -function tzset to initialize all internal state of the library for properly +

If you are manipulating the TZ variable you should also call the POSIX +function tzset(3) to initialize all internal state of the library for properly operating in the timezone of your choice.

  use POSIX qw(tzset);