{
    "content": [
        {
            "type": "text",
            "text": "# rrdresize(1) (man)\n\n**Summary:** rrdresize - alters the size of an RRA and creates a new .rrd file\n\n**Synopsis:** rrdtool resize filename rra-num  GROW|SHRINK rows\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **SYNOPSIS** (2 lines)\n- **DESCRIPTION** (15 lines)\n- **NOTES** (8 lines)\n- **AUTHOR** (5 lines)\n\n## Full Content\n\n### NAME\n\nrrdresize - alters the size of an RRA and creates a new .rrd file\n\n### SYNOPSIS\n\nrrdtool resize filename rra-num  GROW|SHRINK rows\n\n### DESCRIPTION\n\nThe resize function is used to modify the number of rows in an RRA.\n\nfilename\nthe name of the RRD you want to alter.\n\nrra-num the RRA you want to alter. You can find the number using rrdtool info.\n\nGROW    used if you want to add extra rows to an RRA. The extra rows will be inserted as the\nrows that are oldest.\n\nSHRINK  used if you want to remove rows from an RRA. The rows that will be removed are the\noldest rows.\n\nrows    the number of rows you want to add or remove.\n\n### NOTES\n\nThe new .rrd file, with the modified RRAs, is written to the file resize.rrd in the current\ndirectory.  The original .rrd file is not modified.\n\nIt is possible to abuse this tool and get strange results by first removing some rows and\nthen reinserting the same amount (effectively clearing them to be Unknown). You may thus end\nup with unknown data in one RRA while at the same timestamp this data is available in another\nRRA.\n\n### AUTHOR\n\nAlex van den Bogaerdt <alex@vandenbogaerdt.nl>\n\n\n\n1.7.2                                        2022-03-17                                 RRDRESIZE(1)\n\n"
        }
    ],
    "structuredContent": {
        "command": "rrdresize",
        "section": "1",
        "mode": "man",
        "summary": "rrdresize - alters the size of an RRA and creates a new .rrd file",
        "synopsis": "rrdtool resize filename rra-num  GROW|SHRINK rows",
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 15,
                "subsections": []
            },
            {
                "name": "NOTES",
                "lines": 8,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 5,
                "subsections": []
            }
        ]
    }
}