RUSHWHO(1) | Rush User Reference | RUSHWHO(1) |
rushwho - show who is logged on by rush(1)
rushwho [-Hh] [-F STRING] [-f DIR] [--file=DIR] [--format=STRING] [--help] [--no-header] [--usage] [--version]
This manpage is a short description of rushwho. For a detailed discussion, including examples and usage recommendations, refer to the manual GNU Rush -- a restricted user shell, available in texinfo format. If the info reader and the rush documentation are properly installed on your system, the command
should give you access to the complete manual.
You can also view the manual using the info mode in emacs(1), or find it in various formats online at
If any discrepancies occur between this manpage and the Manual, the later shall be considered the authoritative source.
Displays a list of users who are currently logged in by rush(1). The utility operates on the default accounting database, which is maintained if rush(1) runs in accounting mode.
Other options
The precedence rule for format selection is:
The format string supplied with the -F (--format) option controls the output of every record from the GNU Rush accounting database. It consists of the following classes of objects:
Sequence Replaced with \a Audible bell character (ASCII 7) \b Backspace character (ASCII 8) \e Escape character (ASCII 27) \f Form-feed character (ASCII 12) \n Newline character (ASCII 10) \r Carriage return character (ASCII 13) \t Horizontal tabulation character (ASCII 9) \v Vertical tabulation character (ASCII 11) \\ A single backslash \" A double-quote.
Any escape not listed in the table above results in its second character being output.
The available format specifications are:
The following specifications output particular fields of a database record. They all take two positional arguments: WIDTH and TITLE.
The first argument, WIDTH sets the maximum output length for this specification. If the number of characters actually output is less than the width, they will be padded with whitespace either to the left or to the right, depending on the presence of the :right keyword argument. If the number of characters is greater than WIDTH, they will be truncated to fit. If WIDTH is not given, the exact data are output as is.
The second argument, TITLE, gives the title of this column for the heading line. By default no title is output.
Every field specification accepts at least two keyword arguments. The keyword :right may be used to request alignment to the right for the data. This keyword is ignored if WIDTH is not given.
The keyword :empty followed by a string causes the program to output that string if the resulting value for this specification would otherwise be empty.
The :format keyword introduces the strftime(3) format string to be used when converting the date for printing. The default value is "%a %H:%M".
For example, the following is the default format for rushwho. It is written in a form, suitable for use in a file supplied with the --format=@FILE option:
(user 10 Login)" " (rule 8 Rule)" " (start-time 0 Start)" " (duration 9 Time)" " (pid 10 PID)" " (command 28 Command)
Sergey Poznyakoff
Report bugs to <bug-rush@gnu.org.ua>.
Copyright © 2016 Sergey Poznyakoff
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it. There is NO
WARRANTY, to the extent permitted by law.
August 17, 2016 | RUSHWHO |