{
    "content": [
        {
            "type": "text",
            "text": "# RUSHWHO (man)\n\n## NAME\n\nrushwho - show who is logged on by rush(1)\n\n## SYNOPSIS\n\nrushwho  [-Hh]  [-F  STRING]  [-f  DIR] [--file=DIR] [--format=STRING] [--help] [--no-header]\n[--usage] [--version]\n\n## DESCRIPTION\n\nDisplays a list of users who are currently logged in by rush(1).  The utility operates on the\ndefault accounting database, which is maintained if rush(1) runs in accounting mode.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **NOTE**\n- **DESCRIPTION**\n- **OPTIONS** (6 subsections)\n- **ENVIRONMENT**\n- **FORMAT**\n- **SEE ALSO**\n- **AUTHORS**\n- **BUG REPORTS**\n- **COPYRIGHT**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "RUSHWHO",
        "section": "",
        "mode": "man",
        "summary": "rushwho - show who is logged on by rush(1)",
        "synopsis": "rushwho  [-Hh]  [-F  STRING]  [-f  DIR] [--file=DIR] [--format=STRING] [--help] [--no-header]\n[--usage] [--version]",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [
            {
                "flag": "-F",
                "long": null,
                "arg": null,
                "description": "Use STRING instead of the default format. See the section FORMAT, for a detailed dis‐ cussion of the format syntax. If the STRING begins with a @, then this character is removed from it, and the resulting string is regarded as a name of the file to read. The file is read literally, except that lines beginning with a semicolon are ignored."
            },
            {
                "flag": "-f",
                "long": null,
                "arg": null,
                "description": "Look for database files in DIR."
            },
            {
                "flag": "-n",
                "long": null,
                "arg": null,
                "description": "Show at most NUMBER records. Other options"
            },
            {
                "flag": "-h",
                "long": "--help",
                "arg": null,
                "description": "Give this help list."
            },
            {
                "flag": "",
                "long": "--usage",
                "arg": null,
                "description": "Give a short usage message."
            },
            {
                "flag": "",
                "long": "--version",
                "arg": null,
                "description": "Print program version."
            }
        ],
        "examples": [],
        "see_also": [
            {
                "name": "rush",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/rush/1/json"
            },
            {
                "name": "rushwho",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/rushwho/1/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "NOTE",
                "lines": 17,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "-F --format=",
                        "lines": 5,
                        "flag": "-F"
                    },
                    {
                        "name": "-f --file=",
                        "lines": 2,
                        "flag": "-f"
                    },
                    {
                        "name": "-n --count=",
                        "lines": 4,
                        "flag": "-n"
                    },
                    {
                        "name": "-h --help",
                        "lines": 2,
                        "flag": "-h",
                        "long": "--help"
                    },
                    {
                        "name": "--usage",
                        "lines": 2,
                        "long": "--usage"
                    },
                    {
                        "name": "--version",
                        "lines": 2,
                        "long": "--version"
                    }
                ]
            },
            {
                "name": "ENVIRONMENT",
                "lines": 13,
                "subsections": []
            },
            {
                "name": "FORMAT",
                "lines": 97,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "AUTHORS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "BUG REPORTS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "COPYRIGHT",
                "lines": 8,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "rushwho - show who is logged on by rush(1)\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "rushwho  [-Hh]  [-F  STRING]  [-f  DIR] [--file=DIR] [--format=STRING] [--help] [--no-header]\n[--usage] [--version]\n",
                "subsections": []
            },
            "NOTE": {
                "content": "This manpage is a short description of rushwho.  For a detailed discussion,  including  exam‐\nples  and  usage  recommendations,  refer  to the manual GNU Rush -- a restricted user shell,\navailable in texinfo format.  If the info reader and the rush documentation are properly  in‐\nstalled on your system, the command\n\ninfo rushwho\n\nshould give you access to the complete manual.\n\nYou  can  also view the manual using the info mode in emacs(1), or find it in various formats\nonline at\n\nhttp://www.gnu.org.ua/software/rush/manual\n\nIf any discrepancies occur between this manpage and the Manual, the later shall be considered\nthe authoritative source.\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "Displays a list of users who are currently logged in by rush(1).  The utility operates on the\ndefault accounting database, which is maintained if rush(1) runs in accounting mode.\n",
                "subsections": []
            },
            "OPTIONS": {
                "content": "",
                "subsections": [
                    {
                        "name": "-F --format=",
                        "content": "Use STRING instead of the default format.  See the section FORMAT, for a detailed dis‐\ncussion  of  the format syntax.  If the STRING begins with a @, then this character is\nremoved from it, and the resulting string is regarded as a name of the file  to  read.\nThe file is read literally, except that lines beginning with a semicolon are ignored.\n",
                        "flag": "-F"
                    },
                    {
                        "name": "-f --file=",
                        "content": "Look for database files in DIR.\n",
                        "flag": "-f"
                    },
                    {
                        "name": "-n --count=",
                        "content": "Show at most NUMBER records.\n\nOther options\n",
                        "flag": "-n"
                    },
                    {
                        "name": "-h --help",
                        "content": "Give this help list.\n",
                        "flag": "-h",
                        "long": "--help"
                    },
                    {
                        "name": "--usage",
                        "content": "Give a short usage message.\n",
                        "long": "--usage"
                    },
                    {
                        "name": "--version",
                        "content": "Print program version.\n",
                        "long": "--version"
                    }
                ]
            },
            "ENVIRONMENT": {
                "content": "RUSHWHOFORMAT\nWhen  set,  supplies  a  format  string to use instead of the built-in format.  If the\nvalue begins with a @ sign, rest of characters is treated as the name of file to  read\nthe format from, similarly to the --format option, which see.\n\nThe precedence rule for format selection is:\n\n1.     The --format option.\n\n2.     The RUSHWHOFORMAT environment variable.\n\n3.     Built-in format.\n",
                "subsections": []
            },
            "FORMAT": {
                "content": "The  format string supplied with the -F (--format) option controls the output of every record\nfrom the GNU Rush accounting database.  It consists of the following classes of objects:\n\nOrdinary characters\nThese are copied to the output verbatim.\n\nEscapes\nAn escape is a backslash, followed by a single character.  It is interpreted according\nto the following table:\n\nSequence    Replaced with\n\\a          Audible bell character (ASCII 7)\n\\b          Backspace character (ASCII 8)\n\\e          Escape character (ASCII 27)\n\\f          Form-feed character (ASCII 12)\n\\n          Newline character (ASCII 10)\n\\r          Carriage return character (ASCII 13)\n\\t          Horizontal tabulation character (ASCII 9)\n\\v          Vertical tabulation character (ASCII 11)\n\\\\          A single backslash\n\\\"          A double-quote.\n\nAny escape not listed in the table above results in its second character being output.\n\nQuoted strings\nStrings  are  delimited  by single or double quotes.  Within a string escape sequences\nare interpreted as described above.\n\nFormat specifications\nFormat specification can be regarded as a kind of function, which outputs a particular\npiece  of  information  from the database record.  Syntactically, format specification\nstarts with an opening brace and ends with a closing brace.  The first word after  the\nbrace  is  the  name of the specification.  The rest of words are positional arguments\nfollowed by keyword arguments.  Both are optional.  A keyword argument begins  with  a\ncolon.\n\nThe available format specifications are:\n\n(newline [COUNT])\nCauses  the  newline  character to be output.  If the optional count is supplied, that\nmany newlines will be printed\n\n(tab [COUNT])\nAdvance to the next tab stop in the output stream.  If optional COUNT is present, then\nskip that many tab stops.  Each tab stop is eight characters long.\n\nThe  following  specifications  output particular fields of a database record.  They all take\ntwo positional arguments: WIDTH and TITLE.\n\nThe first argument, WIDTH sets the maximum output length for this specification.  If the num‐\nber of characters actually output is less than the width, they will be padded with whitespace\neither to the left or to the right, depending on the presence of the :right keyword argument.\nIf  the  number of characters is greater than WIDTH, they will be truncated to fit.  If WIDTH\nis not given, the exact data are output as is.\n\nThe second argument, TITLE, gives the title of this column for the heading line.  By  default\nno title is output.\n\nEvery  field specification accepts at least two keyword arguments.  The keyword :right may be\nused to request alignment to the right for the data.  This keyword is ignored if WIDTH is not\ngiven.\n\nThe  keyword  :empty followed by a string causes the program to output that string if the re‐\nsulting value for this specification would otherwise be empty.\n\n(user WIDTH TITLE [:empty REPL][:right])\nPrint the user login name.\n\n(time WIDTH TITLE [:empty REPL][:right][:format DATE-FORMAT])\nDate and time when the session started.  The word start-time can be  used  instead  of\ntime.\n\nThe  :format keyword introduces the strftime(3) format string to be used when convert‐\ning the date for printing.  The default value is \"%a %H:%M\".\n\n(duration WIDTH TITLE [:empty REPL][:right])\nTotal time of the session duration.\n\n(rule WIDTH TITLE [:right])\nThe tag of the rule that was used to serve the user.\n\n(command WIDTH TITLE [:empty REPL][:right])\nCommand line being executed.\n\n(pid WIDTH TITLE [:right])\nPID of the process.\n\nFor example, the following is the default format for rushwho.  It is written in a form, suit‐\nable for use in a file supplied with the --format=@FILE option:\n\n(user 10 Login)\" \"\n(rule 8 Rule)\" \"\n(start-time 0 Start)\" \"\n(duration 9 Time)\" \"\n(pid 10 PID)\" \"\n(command 28 Command)\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "rush(1), rushwho(1).\n",
                "subsections": []
            },
            "AUTHORS": {
                "content": "Sergey Poznyakoff\n",
                "subsections": []
            },
            "BUG REPORTS": {
                "content": "Report bugs to <bug-rush@gnu.org.ua>.\n",
                "subsections": []
            },
            "COPYRIGHT": {
                "content": "Copyright © 2016 Sergey Poznyakoff\nLicense GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\nThis  is free software: you are free to change and redistribute it.  There is NO WARRANTY, to\nthe extent permitted by law.\n\n\n\nRUSHWHO                                    August 17, 2016                                RUSHWHO(1)",
                "subsections": []
            }
        }
    }
}