X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=doc%2Frrdgraph.html;h=b4db55ecc6418ae9ed83787b311452138aa6a558;hb=3a03e55068747637db4480d4f3a8ab8ef26c50b1;hp=5415923f3cb7066c42d1214f2909834a959aaed1;hpb=8892808f3a79ec485e273390213ef3f16792eb54;p=pkg-rrdtool.git diff --git a/doc/rrdgraph.html b/doc/rrdgraph.html index 5415923..b4db55e 100644 --- a/doc/rrdgraph.html +++ b/doc/rrdgraph.html @@ -22,6 +22,16 @@
  • OPTIONS
  • @@ -83,26 +93,23 @@ graph it (or print it). This ends the rrdtool graph sequence.<


    OPTIONS

    -
    -
    graphv
    - -
    +

    +

    +

    graphv

    This alternate version of graph takes the same arguments and performs the same function. The v stands for verbose, which describes the output returned. graphv will return a lot of information about the graph using the same format as rrdtool info (key = value). See the bottom of the document for more information.

    -
    -
    filename
    - -
    +

    +

    +

    filename

    The name and path of the graph to generate. It is recommended to end this in .png, .svg or .eps, but RRDtool does not enforce this.

    filename can be '-' to send the image to stdout. In this case, no other output is generated.

    -
    -
    Time range
    - -
    +

    +

    +

    Time range

    [-s|--start time] [-e|--end time] [-S|--step seconds]

    @@ -117,18 +124,16 @@ resolution. With the step option you can alter this behaviour. If you want rrdtool graph to get data at a one-hour resolution from the RRD, set step to 3'600. Note: a step smaller than one pixel will silently be ignored.

    -
    -
    Labels
    - -
    +

    +

    +

    Labels

    [-t|--title string] [-v|--vertical-label string]

    A horizontal string at the top of the graph and/or a vertically placed string at the left hand side of the graph.

    -
    -
    Size
    - -
    +

    +

    +

    Size

    [-w|--width pixels] [-h|--height pixels] [-j|--only-graph] @@ -142,10 +147,9 @@ is automatically resized to fit.

    pixels you will get a tiny graph image (thumbnail) to use as an icon for use in an overview, for example. All labeling will be stripped off the graph.

    -
    -
    Limits
    - -
    +

    +

    +

    Limits

    [-u|--upper-limit value] [-l|--lower-limit value] [-r|--rigid]

    @@ -181,9 +185,9 @@ points to device resolution pixels, this results in a crisper aperance. If this is not to your liking, you can use this switch to turn this behaviour off.

    Gridfitting is turned off for PDF, EPS, SVG output by default.

    -
    -
    Grid
    - +

    +

    +

    Grid

    X-Axis
    @@ -261,10 +265,9 @@ the appropriate units (k, M, etc.) instead of using exponential notation. Note that for linear graphs, SI notation is used by default.

    - -
    Miscellaneous
    - -
    +

    +

    +

    Miscellaneous

    [-z|--lazy]

    Only generate the graph if the current graph is out of date or not existent.

    @@ -377,25 +380,21 @@ measurement, 1 kb/s is 1000 b/s.

    [-W|--watermark string]

    Adds the given string as a watermark, horizontally centred, at the bottom of the graph.

    -
    -
    Data and variables
    - -
    +

    +

    +

    Data and variables

    DEF:vname=rrdfile:ds-name:CF[:step=step][:start=time][:end=time]

    CDEF:vname=RPN expression

    VDEF:vname=RPN expression

    You need at least one DEF statement to generate anything. The other statements are useful but optional. See the rrdgraph_data manpage and the rrdgraph_rpn manpage for the exact format.

    -
    -
    Graph and print elements
    - -
    +

    +

    +

    Graph and print elements

    You need at least one graph element to generate an image and/or at least one print statement to generate a report. See the rrdgraph_graph manpage for the exact format.

    -
    -

    graphv