{
    "content": [
        {
            "type": "text",
            "text": "# nstat (man)\n\n## NAME\n\nnstat, rtacct - network statistics tools.\n\n## SYNOPSIS\n\nUsage: nstat [ -h?vVzrnasd:t:jp ] [ PATTERN [ PATTERN ] ]\nUsage: rtacct [ -h?vVzrnasd:t: ] [ ListOfRealms ]\n\n## DESCRIPTION\n\nnstat  and rtacct are simple tools to monitor kernel snmp counters and network interface sta‐\ntistics.\n\n## TLDR\n\n> View network statistics.\n\n- View network statistics since last time `nstat` was run:\n  `nstat`\n- View all-time network statistics:\n  `nstat {{-a|--ignore}}`\n- Display help:\n  `nstat {{-h|--help}}`\n\n*Source: tldr-pages*\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **OPTIONS** (11 subsections)\n- **SEE ALSO**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "nstat",
        "section": "",
        "mode": "man",
        "summary": "nstat, rtacct - network statistics tools.",
        "synopsis": "Usage: nstat [ -h?vVzrnasd:t:jp ] [ PATTERN [ PATTERN ] ]\nUsage: rtacct [ -h?vVzrnasd:t: ] [ ListOfRealms ]",
        "tldr_summary": "View network statistics.",
        "tldr_examples": [
            {
                "description": "View network statistics since last time `nstat` was run",
                "command": "nstat"
            },
            {
                "description": "View all-time network statistics",
                "command": "nstat {{-a|--ignore}}"
            },
            {
                "description": "Display help",
                "command": "nstat {{-h|--help}}"
            }
        ],
        "tldr_source": "official",
        "flags": [
            {
                "flag": "-h",
                "long": "--help",
                "arg": null,
                "description": ""
            },
            {
                "flag": "-V",
                "long": "--version",
                "arg": null,
                "description": "Print version"
            },
            {
                "flag": "-z",
                "long": "--zeros",
                "arg": null,
                "description": "Dump zero counters too. By default they are not shown."
            },
            {
                "flag": "-r",
                "long": "--reset",
                "arg": null,
                "description": "Reset history."
            },
            {
                "flag": "-n",
                "long": "--nooutput",
                "arg": null,
                "description": "Do not display anything, only update history."
            },
            {
                "flag": "-a",
                "long": "--ignore",
                "arg": null,
                "description": "Dump absolute values of counters. The default is to calculate increments since the previous use."
            },
            {
                "flag": "-s",
                "long": "--noupdate",
                "arg": null,
                "description": "Do not update history, so that the next time you will see counters including values accumulated to the moment of this measurement too."
            },
            {
                "flag": "-j",
                "long": "--json",
                "arg": null,
                "description": "Display results in JSON format."
            },
            {
                "flag": "-p",
                "long": "--pretty",
                "arg": null,
                "description": "When combined with --json, pretty print the output."
            },
            {
                "flag": "-d",
                "long": "--scan",
                "arg": "<INTERVAL>",
                "description": "Run in daemon mode collecting statistics. <INTERVAL> is interval between measurements in seconds."
            },
            {
                "flag": "-t",
                "long": "--interval",
                "arg": "<INTERVAL>",
                "description": "Time interval to average rates. Default value is 60 seconds."
            }
        ],
        "examples": [],
        "see_also": [
            {
                "name": "lnstat",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/lnstat/8/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 7,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "-h, --help",
                        "lines": 1,
                        "flag": "-h",
                        "long": "--help"
                    },
                    {
                        "name": "-V, --version",
                        "lines": 2,
                        "flag": "-V",
                        "long": "--version"
                    },
                    {
                        "name": "-z, --zeros",
                        "lines": 2,
                        "flag": "-z",
                        "long": "--zeros"
                    },
                    {
                        "name": "-r, --reset",
                        "lines": 2,
                        "flag": "-r",
                        "long": "--reset"
                    },
                    {
                        "name": "-n, --nooutput",
                        "lines": 2,
                        "flag": "-n",
                        "long": "--nooutput"
                    },
                    {
                        "name": "-a, --ignore",
                        "lines": 3,
                        "flag": "-a",
                        "long": "--ignore"
                    },
                    {
                        "name": "-s, --noupdate",
                        "lines": 3,
                        "flag": "-s",
                        "long": "--noupdate"
                    },
                    {
                        "name": "-j, --json",
                        "lines": 2,
                        "flag": "-j",
                        "long": "--json"
                    },
                    {
                        "name": "-p, --pretty",
                        "lines": 2,
                        "flag": "-p",
                        "long": "--pretty"
                    },
                    {
                        "name": "-d, --scan <INTERVAL>",
                        "lines": 3,
                        "flag": "-d",
                        "long": "--scan",
                        "arg": "<INTERVAL>"
                    },
                    {
                        "name": "-t, --interval <INTERVAL>",
                        "lines": 3,
                        "flag": "-t",
                        "long": "--interval",
                        "arg": "<INTERVAL>"
                    }
                ]
            },
            {
                "name": "SEE ALSO",
                "lines": 5,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "nstat, rtacct - network statistics tools.\n\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "Usage: nstat [ -h?vVzrnasd:t:jp ] [ PATTERN [ PATTERN ] ]\nUsage: rtacct [ -h?vVzrnasd:t: ] [ ListOfRealms ]\n\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "nstat  and rtacct are simple tools to monitor kernel snmp counters and network interface sta‐\ntistics.\n\nnstat can filter kernel snmp counters by name with one or several specified wildcards.  Wild‐\ncards are case-insensitive and can include special symbols ?  and *\n\n",
                "subsections": []
            },
            "OPTIONS": {
                "content": "",
                "subsections": [
                    {
                        "name": "-h, --help",
                        "content": "",
                        "flag": "-h",
                        "long": "--help"
                    },
                    {
                        "name": "-V, --version",
                        "content": "Print version\n",
                        "flag": "-V",
                        "long": "--version"
                    },
                    {
                        "name": "-z, --zeros",
                        "content": "Dump zero counters too. By default they are not shown.\n",
                        "flag": "-z",
                        "long": "--zeros"
                    },
                    {
                        "name": "-r, --reset",
                        "content": "Reset history.\n",
                        "flag": "-r",
                        "long": "--reset"
                    },
                    {
                        "name": "-n, --nooutput",
                        "content": "Do not display anything, only update history.\n",
                        "flag": "-n",
                        "long": "--nooutput"
                    },
                    {
                        "name": "-a, --ignore",
                        "content": "Dump  absolute  values  of  counters. The default is to calculate increments since the\nprevious use.\n",
                        "flag": "-a",
                        "long": "--ignore"
                    },
                    {
                        "name": "-s, --noupdate",
                        "content": "Do not update history, so that the next time you will see  counters  including  values\naccumulated to the moment of this measurement too.\n",
                        "flag": "-s",
                        "long": "--noupdate"
                    },
                    {
                        "name": "-j, --json",
                        "content": "Display results in JSON format.\n",
                        "flag": "-j",
                        "long": "--json"
                    },
                    {
                        "name": "-p, --pretty",
                        "content": "When combined with --json, pretty print the output.\n",
                        "flag": "-p",
                        "long": "--pretty"
                    },
                    {
                        "name": "-d, --scan <INTERVAL>",
                        "content": "Run  in daemon mode collecting statistics. <INTERVAL> is interval between measurements\nin seconds.\n",
                        "flag": "-d",
                        "long": "--scan",
                        "arg": "<INTERVAL>"
                    },
                    {
                        "name": "-t, --interval <INTERVAL>",
                        "content": "Time interval to average rates. Default value is 60 seconds.\n\n",
                        "flag": "-t",
                        "long": "--interval",
                        "arg": "<INTERVAL>"
                    }
                ]
            },
            "SEE ALSO": {
                "content": "lnstat(8)\n\n\n\n27 June, 2007                                  RTACCT(8)",
                "subsections": []
            }
        }
    }
}