reset rrd_state for grapv in ruby bindings -- Sven Engelhardt
[rrdtool.git] / doc / rrdresize.pod
1 =head1 NAME
2
3 rrdresize - alters the size of an RRA and creates a new .rrd file
4
5 =head1 SYNOPSIS
6
7 B<rrdtool> B<resize> I<filename> I<rra-num>  B<GROW>I<|>B<SHRINK> I<rows>
8
9 =head1 DESCRIPTION
10
11 The B<resize> function is used to modify the number of rows in
12 an B<RRA>.
13
14 =over 8
15
16 =item I<filename>
17
18 the name of the B<RRD> you want to alter.
19
20 =item I<rra-num>
21
22 the B<RRA> you want to alter. You can find the number using B<rrdtool info>.
23
24 =item B<GROW>
25
26 used if you want to add extra rows to an RRA. The extra rows will be inserted
27 as the rows that are oldest.
28
29 =item B<SHRINK>
30
31 used if you want to remove rows from an RRA. The rows that will be removed
32 are the oldest rows.
33
34 =item I<rows>
35
36 the number of rows you want to add or remove.
37
38 =back
39
40 =head1 NOTES
41
42 The new .rrd file, with the modified RRAs, is written to the file
43 B<resize.rrd> in the current directory.  B<The original .rrd file is not
44 modified>.
45
46 It is possible to abuse this tool and get strange results
47 by first removing some rows and then reinserting the same amount (effectively
48 clearing them to be Unknown). You may thus end up with unknown data in one
49 RRA while at the same timestamp this data is available in another RRA.
50
51 =head1 AUTHOR
52
53 Alex van den Bogaerdt <alex@vandenbogaerdt.nl>
54