whoison \- give information about who is on the system
is a program which summarizes the current users of a large system quickly
\fB\-u\fR break down used teletypes
\fB\-f\fR break down free teletypes
\fB\-n\fR break down unavailable teletypes
\fB\-d\fR give ``classwise'' distribution of users
\fB\-s\fR summarize used and free
only turns all information on.
to break the teletypes on the system into classes,
to the character names of super-users.
cory:abcdefghijklmnopvwyz+-,
private:58hq.=_%MNOPUVWX#!
The first group of lines, up to a null line, gives the distribution
of the teletypes, given by the name of the class followed by a `:'
and then the teletypes in the group.
The second group gives the
names, followed by a `:' and then patterns to match the class names
separated by `|' characters.
Here any user whose login name begins with `guest' or `lhs'
is considered to be a guest.
Finally, the rest of the file is a miniature
to speed up user name searches.
If non-flag arguments are given on the command line, these are used instead of
the patterns here, and only users specified by these arguments are given.
The effect is that of specifying the option
or if the pattern is a single character teletype name,
for the person on that terminal only.
The pattern may also be a location name, i.e.
`evans' in the example above.
Thus `whoison evans' will give the names of the users on the `evans'
A typical output for the Cory System with this data base would be
broderse on c, conn on I and J, csgsa on L, devel on h, englar on 1,
guest on R, jeff on 8, joyce on C and D, kaarto on o (as root), mosher on T,
root on 5 (as pascal), so on -
15 used (1 guest), 45 free (8 evans, 19 cory, 4 phone, 3 11/10, 11 private)
/etc/ttys tty on/off information