10.2;lusr (list_user), revision 2.0, 89/10/02
lusr (list_user) -- List logged on users.
usage: lusr [-me] [-allnodes] [-n node_spec ...]
[-pgo pgo...]
[-allprocs]
[-[no]full]
[-br]
[-idle]
DESCRIPTION
lusr lists the identities of active users on the network.
OPTIONS
If no options are specified, the person, group, organization name and
node entry directory of the user executing the command is listed.
Unless the -allp option is specified, lusr will list only users logged
into the DM.
-me List the user logged on to this node by person, group,
organization name, and node entry directory.
This is the default option.
-all[nodes] List all nodes on the network and the users logged on to
each. -nofull is the default with this option.
-n node_spec ...
Lists user(s) logged on to the node specified. See help
node_spec for details about node specification syntax.
Multiple pathnames or node IDs are permitted; separate
them with blanks.
-br Suppress listing of node entry directory. node entry
directories are listed if this option is not specified.
-full List complete person, group, organization name, and node
entry directory for each user listed.
-nofull List only the person name and node entry directory for
each user listed.
-allp[rocs] List identities for all user processes, not just the DM,
by node (if -n is also specified), by name (-pgo), for the
current node only (-me), or everywhere in the network.
-pgo pgo List user(s) named, at all nodes from which they have
logged in to the DM. pgo is a string of the form
pers.group.org, where '%' may be used as a wildcard
specifier and trailing %'s may be omitted (for example,
%.os_dev or joe.%.r_d).
-idle Include idle nodes in report. If you omit this option,
lusr suppresses the names of nodes at which no one is
logged in.
EXAMPLES
$ lusr -me
loc.none.mfg.1D5 //et
$
$ lusr -me -nofull -br
loc
$
$ lusr -n //magic //mountain //park
joe //magic
brian //mountain
gordon //park
$
$ lusr -all -full
jtj.none.none.532 //zoid
andy.none.now.12B //me
carol.none.mtg.334 //vip
nelson.none.pres.838 *** diskless 383 ***
//halfwit partner node: //plan
annie.none.r_d.6CA //lunar
now.system.advent.368 *** diskless 368 ***
//diskless_$000368 partner node: //zoid
beth.none.mfg.2F7 //mack
$
$ lusr -all -idle
joe //magic
*No one logged in* //strider
*No one logged in* //panacea
janet *** diskless //cutie *** partner node: //nirvana
john //duke
eric //lion
*No one logged in* //fourbits
harper //basil
$