RRDGRAPH(1) rrdtool RRDGRAPH(1) (NAME) rrdgraph - (RRDtool) (SYNOPSIS) rrdtool graph|graphv filename [option ...] [data definition ...] [data calculation ...] [variable definition ...] [graph element ...] [print element ...] (DESCRIPTION) graph RRDtool RRD . . (OVERVIEW) rrdtool graph data definition . ( ). variable definition . RRDtool . RRA (consolidated) . RRDtool . / (unknown) ! . (bytes) (bits) . data calculation . RPN . ( ) . rrdtool graph . graph graphv . . (OPTIONS) filename . ".png" ".svg" ".eps" RRDtool . filename '"-"' "stdout" . ..SS " (Time range)" [-s|--start time] [-e|--end time] [-S|--step seconds] RRA . : . Start end "AT-STYLE TIME SPECIFICATION" rrdfetch rrdgraph_examples . rrdtool graph RRA . step . rrdtool graph RRD step 3'600 . : step . --imgformat "OUTPUT FORMAT" rrdxport . (Labels) [-t|--title string]
\n . [-v|--vertical-label string] . [--vertical-label-angle degrees] --vertical-label . "RRDGRAPH_YLEGEND_ANGLE" 90 . 270 . 90 270 . (Size) [-w|--width pixels] [-h|--height pixels] [-j|--only-graph] [-D|--full-size-mode] canvas ( ). . --full-size-mode canvas . --only-graph (thumbnail) . . (Limits) [-u|--upper-limit value] [-l|--lower-limit value] [-r|--rigid] [--allow-shrink] y . . y lower-limit upper-limit . rigid . allow-shrink rigid . [-A|--alt-autoscale] y . "260 + 0.001 * sin(x)" . y . "260-0.001" "260+0.001" ( Sasha Mikheev ). [-J|--alt-autoscale-min] "--alt-autoscale" . 0 . WAN (throughput) WAN . [-M|--alt-autoscale-max] "--alt-autoscale" . 0 . WAN WAN . [-N|--no-gridfit] anti-aliasing RRDtool (snaps) . . (Grid-fitting) PDF EPS SVG . X (X-Axis) [-x|--x-grid GTM:GST:MTM:MST:LTM:LST:LPR:LFM] [-x|--x-grid none] x . . "none" . ?TM . "SECOND" "MINUTE" "HOUR" "DAY" "WEEK" "MONTH" "YEAR" . . (?TM:?ST) (G??) (M??) (L??) . LPR strftime LFM . LPR . ( ). ( Monday January ). --x-grid MINUTE:10:HOUR:1:HOUR:4:0:%X . . --x-grid HOUR:8:DAY:1:DAY:1:86400:%A . . [--week-fmt strftime format string] rrdtool "Week %V" . x ..SS " Y (Y-Axis)" [-y|--y-grid grid step:label factor] [-y|--y-grid none] Y grid step . label factor . "-y none" . . --y-grid 'none' . --units-length . [--left-axis-formatter formatter-name] . numeric . timestamp ( 1970-01-01 00:00:00 UTC) strftime ( '%Y-%m-%d %H:%M:%S' ). --units-length --left-axis-format . duration . PRINT/GPRINT valstrfduration . rrdgraph_graph . [--left-axis-format format-string] . %lf PRINT GPRINT . [-Y|--alt-y-grid] Y Y . . 69.998 70.001 ( Sasha Mikheev). [-o|--logarithmic] Y. [-X|--units-exponent value] 10**exponent Y . (k M ) . k ( 10e3) M ( 10e6) . -18 18 ( ) . . 3 Y k ( 10e3 ) -6 u ( 10e-6 ) . Y 0 . RRDtool . RRDtool --alt-y-grid . [-L|--units-length value] RRDtool Y Y . [--units=si] Y (k M ) . SI . Y (Right Y Axis) [--right-axis scale:shift] [--right-axis-label label] . scale shift . . [--right-axis-label-angle degrees] --right-axis-label . --vertical-label-angle . 270 . [--right-axis-range min:max] min max . "0:" ":100" . ( ) . "130 %" "-20 %" . . . SI --right-axis . [--right-axis-formatter formatter-name] . numeric . timestamp ( 1970-01-01 00:00:00 UTC) strftime ( '%Y-%m-%d %H:%M:%S' ). --units-length --right-axis-format . duration . PRINT/GPRINT valstrfduration . rrdgraph_graph . [--right-axis-format format-string] . %lf PRINT GPRINT ..SS " (Legend)" [-g|--no-legend] (legend) . [-F|--force-rules-legend] HRULE VRULE HRULE VRULE ( 1.0.42). [--legend-position=(north|south|west|east)] . south . west east . [--legend-direction=(topdown|bottomup|bottomup2)] . topdown . bottomup . bottomup2 COMMENT . (Miscellaneous) [-z|--lazy] . PRINT graphv . lazy . RRDtool 1.3.7 lazy . [-d|--daemon address] rrdcached. RRD "flush" . () . -l rrdcached . rrdtool graph [...] --daemon unix:/var/run/rrdcached.sock [...] [-f|--imginfo printfstr] graph printf PRINT filename xsize ysize printf . IMG : --imginfo 'Demo' [-c|--color COLORTAG#rrggbb[aa]] (override) . COLORTAG : "BACK" "CANVAS" "SHADEA" "SHADEB" "GRID" "MGRID" "FONT" "AXIS" "FRAME" "ARROW" . rgb (00 FF ) . (FF ) . . : "--color ARROW#00FF00" [--grid-dash on:off] (on) (off) . . --grid-dash 1:3 for a dot grid --grid-dash 1:0 for uninterrupted grid lines [--border width] (3d) . 2 0 . "SHADEA" "SHADEB" . [--dynamic-labels] . [-m|--zoom factor] . (factor) (> 0) . [-n|--font FONTTAG:size[:font]] RRD . "DEFAULT" "TITLE" "AXIS" "UNIT" "LEGEND" "WATERMARK" . Times : "--font TITLE:13:Times" (whitespace) --font : --font "TITLE:13:Some Font" : "--font TITLE:13:". 0 . : "--font DEFAULT:0:Courier". RRDtool . "RRD_DEFAULT_FONT" . RRDtool Pango . Pango : "[FAMILY-LIST] [STYLE-OPTIONS] [SIZE]" FAMILY-LIST STYLE_OPTIONS (style) (variant) (weight) (stretch) (gravity) SIZE ( ) "px" . . [-R|--font-render-mode {normal,light,mono}] : normal: (Full Hinting) (Anti-aliasing) () light: (Slight Hinting) (Anti-aliasing) mono: (Full Hinting) (NO Anti-aliasing) [-B|--font-smoothing-threshold size] ( 1.3 !) (bitmapped) . . [-P|--pango-markup] RRDtool Pango . --pango-markup pango . -html : text : b Bold () big i Italic () s Strikethrough () sub Subscript () sup Superscript () small tt Monospace font ( ) u Underline () . [-G|--graph-render-mode {normal,mono}] : normal: (Anti-aliased) () mono: (Anti-aliasing) [-E|--slope-mode] RRDtool . RRDtool . <<>> ('organic') . [-a|--imgformat PNG|SVG|EPS|PDF|XML|XMLENUM|JSON|JSONTIME|CSV|TSV|SSV] . Postscript Courier-Bold Courier-BoldOblique Courier-Oblique Courier Helvetica-Bold Helvetica-BoldOblique Helvetica-Oblique Helvetica Symbol Times-Bold Times-BoldItalic Times-Italic Times-Roman ZapfDingbats ..PP (Export type) : XML XMLENUM ( ,,,... ) JSON JSONTIME ( ) CSV ( ) TSV ( ) SSV ( ) ( // (unix time) . : --x-grid MINUTE:10:HOUR:1:HOUR:4:0:"%Y-%m-%d %H:%M:%S") --imgformat "OUTPUT FORMAT" rrdxport . [-i|--interlaced] ( 1.3 !) (interlaced) . [-T|--tabwidth value] . [-b|--base value] ( ) 1024 (Kb) 1024 . 1 kb/s 1000 b/s . [-W|--watermark string] . [-Z|--use-nan-for-all-missing-data] DS RRD DS . [--add-jsontime] xport JSONTIME graphv . [--utc] UTC . TZ=UTC rrdtool graph .... . . (Data and variables) DEF:vname=rrdfile:ds-name:CF[:step=step][:start=time][:end=time] CDEF:vname=RPN expression VDEF:vname=RPN expression DEF LINE AREA GPRINT PRINT . rrdgraph_data rrdgraph_rpn . : (Graph and print elements) / (print statement) . rrdgraph_graph . graphv RRDtool graphv info RRDtool . key=value . Perl Ruby (hash pointer) . '-' ( 'image'). : print[0] = "0.020833" print[1] = "0.0440833" graph_left = 51 graph_top = 22 graph_width = 400 graph_height = 100 graph_start = 1232908800 graph_end = 1232914200 image_width = 481 image_height = 154 value_min = 0.0000000000e+00 value_max = 4.0000000000e-02 image = BLOB_SIZE:8196 [... 8196 bytes of image data ...] 'graph_*' . . (ENVIRONMENT) "rrdtool graph" : RRDCACHED_ADDRESS "--daemon" . . RRD_DEFAULT_FONT RRDtool . RRD_DEFAULT_FONT . (SEE ALSO) rrdgraph rrdtool graph . rrdgraph_data DEF CDEF VDEF . rrdgraph_rpn RPN ?DEF . rrdgraph_graph . rrdgraph_examples . (AUTHORS) Tobias Oetiker Alex van den Bogaerdt / . 1.11.0 2026-08-08 RRDGRAPH(1)