"Fossies" - the Fresh Open Source Software Archive

Member "rrdtool-1.7.2/doc/rrdresize.html" (3 Jan 2019, 1979 Bytes) of package /linux/misc/rrdtool-1.7.2.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) HTML source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 <?xml version="1.0" ?>
    2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    3 <html xmlns="http://www.w3.org/1999/xhtml">
    4 <head>
    5 <title>rrdresize</title>
    6 <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    7 <link rev="made" href="mailto:root@localhost" />
    8 </head>
    9 
   10 <body>
   11 
   12 
   13 
   14 <h1 id="NAME">NAME</h1>
   15 
   16 <p>rrdresize - alters the size of an RRA and creates a new .rrd file</p>
   17 
   18 <h1 id="SYNOPSIS">SYNOPSIS</h1>
   19 
   20 <p><b>rrdtool</b> <b>resize</b> <i>filename</i> <i>rra-num</i> <b>GROW</b><i>|</i><b>SHRINK</b> <i>rows</i></p>
   21 
   22 <h1 id="DESCRIPTION">DESCRIPTION</h1>
   23 
   24 <p>The <b>resize</b> function is used to modify the number of rows in an <b>RRA</b>.</p>
   25 
   26 <dl>
   27 
   28 <dt id="filename"><i>filename</i></dt>
   29 <dd>
   30 
   31 <p>the name of the <b>RRD</b> you want to alter.</p>
   32 
   33 </dd>
   34 <dt id="rra-num"><i>rra-num</i></dt>
   35 <dd>
   36 
   37 <p>the <b>RRA</b> you want to alter. You can find the number using <b>rrdtool info</b>.</p>
   38 
   39 </dd>
   40 <dt id="GROW"><b>GROW</b></dt>
   41 <dd>
   42 
   43 <p>used if you want to add extra rows to an RRA. The extra rows will be inserted as the rows that are oldest.</p>
   44 
   45 </dd>
   46 <dt id="SHRINK"><b>SHRINK</b></dt>
   47 <dd>
   48 
   49 <p>used if you want to remove rows from an RRA. The rows that will be removed are the oldest rows.</p>
   50 
   51 </dd>
   52 <dt id="rows"><i>rows</i></dt>
   53 <dd>
   54 
   55 <p>the number of rows you want to add or remove.</p>
   56 
   57 </dd>
   58 </dl>
   59 
   60 <h1 id="NOTES">NOTES</h1>
   61 
   62 <p>The new .rrd file, with the modified RRAs, is written to the file <b>resize.rrd</b> in the current directory. <b>The original .rrd file is not modified</b>.</p>
   63 
   64 <p>It is possible to abuse this tool and get strange results by first removing some rows and then reinserting the same amount (effectively clearing them to be Unknown). You may thus end up with unknown data in one RRA while at the same timestamp this data is available in another RRA.</p>
   65 
   66 <h1 id="AUTHOR">AUTHOR</h1>
   67 
   68 <p>Alex van den Bogaerdt &lt;alex@vandenbogaerdt.nl&gt;</p>
   69 
   70 
   71 </body>
   72 
   73 </html>
   74 
   75