Server IP : 85.214.239.14 / Your IP : 3.129.73.6 Web Server : Apache/2.4.62 (Debian) System : Linux h2886529.stratoserver.net 4.9.0 #1 SMP Tue Jan 9 19:45:01 MSK 2024 x86_64 User : www-data ( 33) PHP Version : 7.4.18 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : OFF | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /usr/share/doc/rrdtool/html/ |
Upload File : |
<?xml version="1.0" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>rrdinfo</title> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <link rev="made" href="mailto:root@localhost" /> </head> <body> <h1 id="NAME">NAME</h1> <p>rrdinfo - extract header information from an RRD</p> <h1 id="SYNOPSIS">SYNOPSIS</h1> <p><b>rrdtool</b> <b>info</b> <i>filename</i> <span style="white-space: nowrap;">[<b>--daemon</b>|<b>-d</b> <i>address</i> [<b>--noflush</b>|<b>-F</b>]]</span></p> <h1 id="DESCRIPTION">DESCRIPTION</h1> <p>The <b>info</b> function prints the header information from an RRD in a parsing friendly format.</p> <p>Check <a href="./rrdcreate.html">rrdcreate</a> if you are uncertain about the meaning of the individual keys.</p> <dl> <dt id="filename"><i>filename</i></dt> <dd> <p>The name of the <b>RRD</b> you want to examine.</p> </dd> <dt id="daemon--d-address"><b>--daemon</b>|<b>-d</b> <i>address</i></dt> <dd> <p>Address of the <a href="./rrdcached.html">rrdcached</a> daemon. If specified, a <code>flush</code> command is sent to the server before reading the RRD files. This allows <b>rrdtool</b> to return fresh data even if the daemon is configured to cache values for a long time. For a list of accepted formats, see the <b>-l</b> option in the <a href="./rrdcached.html">rrdcached</a> manual.</p> <pre><code>rrdtool info --daemon unix:/var/run/rrdcached.sock /var/lib/rrd/foo.rrd</code></pre> </dd> <dt id="noflush--F"><b>--noflush</b>|<b>-F</b></dt> <dd> <p>Omit the <code>flush</code> command usually sent to the daemon prior to retrieving the data. If all you are interested in is the RRD structure, and not the last update time or current values, then this will improve efficiency.</p> </dd> </dl> <h1 id="EXAMPLE">EXAMPLE</h1> <p>This is the output generated by running <b>info</b> on a simple RRD which contains two data sources and one RRA. Note that the number after the <i>last_update</i> keyword is in seconds since 1970. The string <b>NaN</b> stands for <i>*UNKNOWN*</i> data. In the example it means that this RRD has neither minimum nor maximum values defined for either of its data sources.</p> <pre><code>filename = "random.rrd" rrd_version = "0001" step = 300 last_update = 955892996 header_size = 2872 ds[a].type = "GAUGE" ds[a].minimal_heartbeat = 600 ds[a].min = NaN ds[a].max = NaN ds[a].last_ds = "UNKN" ds[a].value = 2.1824421548e+04 ds[a].unknown_sec = 0 ds[b].type = "GAUGE" ds[b].minimal_heartbeat = 600 ds[b].min = NaN ds[b].max = NaN ds[b].last_ds = "UNKN" ds[b].value = 3.9620838224e+03 ds[b].unknown_sec = 0 rra[0].cf = "AVERAGE" rra[0].pdp_per_row = 1 rra[0].cdp_prep[0].value = nan rra[0].cdp_prep[0].unknown_datapoints = 0 rra[0].cdp_prep[1].value = nan rra[0].cdp_prep[1].unknown_datapoints = 0</code></pre> <h1 id="ENVIRONMENT-VARIABLES">ENVIRONMENT VARIABLES</h1> <p>The following environment variables may be used to change the behavior of <code>rrdtool info</code>:</p> <dl> <dt id="RRDCACHED_ADDRESS"><b>RRDCACHED_ADDRESS</b></dt> <dd> <p>If this environment variable is set it will have the same effect as specifying the <code>--daemon</code> option on the command line. If both are present, the command line argument takes precedence.</p> </dd> </dl> <h1 id="AUTHOR">AUTHOR</h1> <p>Tobias Oetiker <tobi@oetiker.ch></p> </body> </html>