{
    "content": [
        {
            "type": "text",
            "text": "# byobu-ugraph(1) (man)\n\n**Summary:** byobu-ugraph - helper script for notification history graphs\n\n## Examples\n\n- `Using byobu-ugraph to run a command, rotate log and display graph.`\n- `Here we specify a command to display available memory.  Trailing echo adds a required newline`\n- `Note no filename specified.`\n- `byobu-ugraph \"(/usr/lib/byobu/memused | sed -e 's/% //g';echo)\"`\n- `Using byobu-ugraph just to rotate log and display the graph`\n- `file=/tmp/load.dat`\n- `awk '{ print $1}' /proc/loadavg >> $file`\n- `# Note: we need to specify what we consider to be a \"reasonable\" maximum load`\n- `byobu-ugraph -m 3.0 -f $file`\n\n## See Also\n\n- byobu(1)\n\n## Section Outline\n\n- **NAME** (3 lines)\n- **DESCRIPTION** (3 lines)\n- **USAGE** (3 lines)\n- **OPTIONS** (11 lines)\n- **EXAMPLES** (15 lines)\n- **NOTES** (7 lines)\n- **SEE ALSO** (6 lines)\n- **AUTHOR** (13 lines)\n\n## Full Content\n\n### NAME\n\nbyobu-ugraph - helper script for notification history graphs\n\n### DESCRIPTION\n\nbyobu-ugraph is a helper script that can be used to create history graphs\n\n### USAGE\n\nbyobu-ugraph [options] [command [args...]]\n\n### OPTIONS\n\n-f <file>   : File to read data points from.  (only required if no command specified).\n-h          : Show this help.\n-m <num>    : Minimum value (default=$mindefault).\n-n          : Supress output of newline character.\n-p <points> : Specify number of data points in graph (default=$pointsdefault).\n-r          : Do not rotate file <file> (default is to rotate).  Option implies file <file>\nshould not be written to so a command cannot follow script options in this case.\n-t <theme>  : 'byobu-ulevel' theme to use (default=$themedefault).\n-x <num>    : Maximum value (default=$maxdefault).\n\n### EXAMPLES\n\nUsing byobu-ugraph to run a command, rotate log and display graph.\n\nHere we specify a command to display available memory.  Trailing echo adds a required newline\nNote no filename specified.\n\nbyobu-ugraph \"(/usr/lib/byobu/memused | sed -e 's/% //g';echo)\"\n\nUsing byobu-ugraph just to rotate log and display the graph\n\nfile=/tmp/load.dat\nawk '{ print $1}' /proc/loadavg >> $file\n# Note: we need to specify what we consider to be a \"reasonable\" maximum load\nbyobu-ugraph -m 3.0 -f $file\n\n### NOTES\n\nIf  you  specify 'command', care must be taken with shell quoting to avoid expansion prior to\nthis script running the command.\n\nIf '-r' is not specified, the file <file> will be rotated such that at  most  <points>  lines\nare retained on each invocation of this script.\n\n### SEE ALSO\n\nbyobu(1)\n\n\nhttp://byobu.org\n\n### AUTHOR\n\nThis utility was written by James Hunt <james.hunt@canonical.com>, and this manpage was writ‐\nten by Dustin Kirkland <kirkland@byobu.org> for Ubuntu systems (but may be used  by  others).\nPermission  is  granted to copy, distribute and/or modify this document and the utility under\nthe terms of the GNU General Public License, Version 3 published by the Free Software Founda‐\ntion.\n\nThe  complete  text  of  the GNU General Public License can be found in /usr/share/common-li‐\ncenses/GPL on Debian/Ubuntu systems, or in /usr/share/doc/fedora-release-*/GPL on Fedora sys‐\ntems, or on the web at http://www.gnu.org/licenses/gpl.txt.\n\n\n\nbyobu                                        16 Dec 2013                             byobu-ugraph(1)\n\n"
        }
    ],
    "structuredContent": {
        "command": "byobu-ugraph",
        "section": "1",
        "mode": "man",
        "summary": "byobu-ugraph - helper script for notification history graphs",
        "synopsis": null,
        "flags": [],
        "examples": [
            "Using byobu-ugraph to run a command, rotate log and display graph.",
            "Here we specify a command to display available memory.  Trailing echo adds a required newline",
            "Note no filename specified.",
            "byobu-ugraph \"(/usr/lib/byobu/memused | sed -e 's/% //g';echo)\"",
            "Using byobu-ugraph just to rotate log and display the graph",
            "file=/tmp/load.dat",
            "awk '{ print $1}' /proc/loadavg >> $file",
            "# Note: we need to specify what we consider to be a \"reasonable\" maximum load",
            "byobu-ugraph -m 3.0 -f $file"
        ],
        "see_also": [
            {
                "name": "byobu",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/byobu/1/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "USAGE",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 11,
                "subsections": []
            },
            {
                "name": "EXAMPLES",
                "lines": 15,
                "subsections": []
            },
            {
                "name": "NOTES",
                "lines": 7,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 6,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 13,
                "subsections": []
            }
        ]
    }
}