X-Git-Url: https://git.octo.it/?p=rrdtool.git;a=blobdiff_plain;f=doc%2Frrdgraph_graph.pod;h=c740aad38c26e05816bbc44711add5af7f7042ca;hp=f40877cbae03d70ddd22b756f3f0054cf6697c07;hb=f54455954eb3111c1b702d3ed7b9daff833690f3;hpb=aed5641cac5013af2b076e0aba9c998a4de3c2dd diff --git a/doc/rrdgraph_graph.pod b/doc/rrdgraph_graph.pod index f40877c..c740aad 100644 --- a/doc/rrdgraph_graph.pod +++ b/doc/rrdgraph_graph.pod @@ -38,12 +38,9 @@ These instructions allow you to generate your image or report. If you don't use any graph elements, no graph is generated. Similarly, no report is generated if you don't use print options. -=head1 PRINT +=head2 PRINT -=over 4 - - -=item BIB<:>I[B<:strftime>] +=head3 BIB<:>I[B<:strftime>] Depending on the context, either the value component or the time component of a B is printed using I. It is an error @@ -55,7 +52,7 @@ can be: For printing values: -=over 4 +=over =item B<%%> @@ -88,11 +85,11 @@ will all use the same magnitude unit except for zero values. =back If you PRINT a VDEF value, you can also print the time associated with it by appending the string -B<:strftime> to the format. Note that rrdtool uses the strftime function of your OSs clibrary. This means that +B<:strftime> to the format. Note that RRDtool uses the strftime function of your OSs C library. This means that the conversion specifier may vary. Check the manual page if you are uncertain. The following is a list of conversion specifiers usually supported across the board. -=over 4 +=over =item B<%a> @@ -145,10 +142,14 @@ strings for the current locale. Noon is treated as `pm' and midnight as `am'. Note that in many locales and `pm' notation is unsupported and in such cases %p will return an empty string. -=item B<%S> +=item B<%s> The second as a decimal number (range 00 to 61). +=item B<%S> + +The seconds since the epoch (1.1.1970) (libc dependent non standard!) + =item B<%U> The week number of the current year as a decimal number, range 00 to 53, starting with the @@ -195,33 +196,30 @@ A literal `%' character. =back -=item BIB<:>IB<:>I +=head3 BIB<:>IB<:>I I The first form of this command is to be used with B Is. -=back - -=head1 GRAPH -=over 4 +=head2 GRAPH -=item BB<:>IB<:>I +=head3 BB<:>IB<:>I This is the same as C, but printed inside the graph. -=item BB<:>IB<:>IB<:>I +=head3 BB<:>IB<:>IB<:>I I This is the same as C, but printed inside the graph. -=item BB<:>I +=head3 BB<:>I Text is printed literally in the legend section of the graph. Note that in RRDtool 1.2 you have to escape colons in COMMENT text in the same way you have to escape them in B<*PRINT> commands by writing B<'\:'>. -=item BB<:>I