Go to main content

マニュアルページ セクション 1: ユーザーコマンド

印刷ビューの終了

更新: 2018年8月8日
 
 

rrdresize (1)

名前

rrdresize - alters the size of an RRA and creates a new .rrd file

形式

rrdtool resize filename rra-num  GROW|SHRINK rows

説明

RRDRESIZE(1)                        rrdtool                       RRDRESIZE(1)



NAME
       rrdresize - alters the size of an RRA and creates a new .rrd file

SYNOPSIS
       rrdtool resize filename rra-num  GROW|SHRINK rows

DESCRIPTION
       The resize function is used to modify the number of rows in an RRA.

       filename
               the name of the RRD you want to alter.

       rra-num the RRA you want to alter. You can find the number using
               rrdtool info.

       GROW    used if you want to add extra rows to an RRA. The extra rows
               will be inserted as the rows that are oldest.

       SHRINK  used if you want to remove rows from an RRA. The rows that will
               be removed are the oldest rows.

       rows    the number of rows you want to add or remove.


ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+------------------+
       |ATTRIBUTE TYPE | ATTRIBUTE VALUE  |
       +---------------+------------------+
       |Availability   | image/rrdtool    |
       +---------------+------------------+
       |Stability      | Uncommitted      |
       +---------------+------------------+
NOTES
       The new .rrd file, with the modified RRAs, is written to the file
       resize.rrd in the current directory.  The original .rrd file is not
       modified.

       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.

AUTHOR
       Alex van den Bogaerdt <alex@vandenbogaerdt.nl>


       This software was built from source available at
       https://github.com/oracle/solaris-userland.  The original community
       source was downloaded from
       http://oss.oetiker.ch/rrdtool/pub/rrdtool-1.6.0.tar.gz

       Further information about this software can be found on the open source
       community website at http://oss.oetiker.ch/rrdtool/.



1.5.4                             2012-09-11                      RRDRESIZE(1)