|
NAMErushwho - show who is logged on by rush(1)SYNOPSISrushwho [-Hh] [-F STRING] [-f DIR] [--file=DIR] [--format=STRING] [--help] [--no-header] [--usage] [--version]NOTEThis 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 commandinfo rushwho
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 http://www.gnu.org.ua/software/rush/manual
If any discrepancies occur between this manpage and the Manual, the later shall be considered the authoritative source. DESCRIPTIONDisplays 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.OPTIONS
Other options
ENVIRONMENT
FORMATThe 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:
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.
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) SEE ALSOrush(1), rushwho(1).AUTHORSSergey PoznyakoffBUG REPORTSReport bugs to <bug-rush@gnu.org.ua>.COPYRIGHTCopyright © 2016 Sergey PoznyakoffLicense 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.
Visit the GSP FreeBSD Man Page Interface. |