X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=doc%2Frrdgraph_graph.pod;h=a932fa0637165f4c98e99ba577decc412483f423;hb=6836df3d35177c87c3d03e0c622d738305bd390c;hp=f40877cbae03d70ddd22b756f3f0054cf6697c07;hpb=aed5641cac5013af2b076e0aba9c998a4de3c2dd;p=rrdtool.git diff --git a/doc/rrdgraph_graph.pod b/doc/rrdgraph_graph.pod index f40877c..a932fa0 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<%%> @@ -92,7 +89,7 @@ B<:strftime> to the format. Note that rrdtool uses the strftime function of your 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 dependant 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