LUST - list the UST chain.
Syntax:
lust [option]* [string]*
User=name Runsize=N
Subsystem=name Lineid=N
Flag=name (+|-)Bits (-)
(+|-)Verbose (-) (+|-)StackS (-)
(+|-)Druns Drunid=nnnnd
Examples:
lust user=cpope,kstaples pmetheny +Stac -verbo
lust subsys=fred subsys=mail +bits
lust runsize=12 line=4300 +verbose +s -bits
Options:
- User=name
- names users whose UST are to be examined.
"name" is a sequence of one or more userids
separated by commas. More than one User= option may
appear on the command line.
- string
- is taken to be a single userid. This is an alternate form
of User=. "string" by itself cannot be a
comma-separated list.
- Runsize=N
- specifies a specific memory size in K words. This option
may appear more than once on the command line to create a
group of memory sizes.
- Subsystem=name
- names one or more subsystem names that will determine a
group. Multiple names are separated by commas. A
subsystem name can have a maximum of four characters.
This option may appear more than once on the command
line.
- Lineid=N
- speciifies a specific lineid (in octal) that will
determine a group. The option may appear more than once.
- Flag=name
- names one or more user attributes that will determine a
group. Multiple names are separated by commas. As with
the other options, it may appear more than once. The
recognized user attributes are explained more fully
below.
- +Bits
- indicates that the user's permission bits are to be
printed.
- -StackS
- indicates that the subsystem stack is not to be printed.
The effects of this option are described below.
- +Verbose
- prints a title heading over each column.
- +Druns
- will print only those signed on who are druns.
- -Druns
- will print only those signed on who are not druns. If
this option does not appear on the command line then both
druns and users are printed.
- Drunid=nnnnd
- this option specifies drunids to be searched. A valid
drunid consists of four digits followed by a 'd', more
than one drunid may be specified by seperating them with
a comma. This option may appear more than once on the
command line.
Description:
LUST will examine the UST (User Status Table) chain and print
information about the users currently signed on. The command line
options allow specific groups of users to be selected. A user
must have at least one attribute from each of the specified
groups (User, Runsize, Lineid, Subsystem, and Flag) in order to
be printed.
The information printed by LUST has the form
n userid lineid stacks online cpu memory flags
where the variables are as defined below.
- n
- position in the UST chain.
- userid
- the name of the user.
- lineid
- the octal line number.
- stacks
- the subsystem stack. This has two possible formats.
- name(X)
- where name is the current subsystem and X is the
depth in the subsystem stack. This is the format
if -StackS is in effect.
- namenamename
- where each name is a subsystem name. The
rightmost name is the current subsystem. This is
the format used when +StackS is in effect.
- online
- the total time since login.
- cpu
- the amount of CPU used since login.
- memory
- the size in K words of the current subsystem.
- flags
- zero or more user attribute flags.
Times are printed in the format "hh:mm:ss". Leading
zeroes are always suppressed. This applies to the times printed
in the Online and CPU columns as well as the times printed with
the flag options "dis", "wak", and
"lti".
The Flag= option may include any of the following.
- dio
- user roadblocked for disc I/O (.lflag,18).
- swo
- user being swapped out (.lflag,21).
- cor
- user in memory (.lflag,22).
- swi
- user being swapped in (.lflag,23).
- tsk
- user has non-TSS process executing (.lflag,25).
- brk
- the user just hit break, but no action has been taken yet
(.lflag,35). This may also mean that the entry is dead in
login.
- dac
- line switched to batch job (.lflg2,21).
- ppt
- paper tape input in progress (.lflg2,32).
- mas
- user is master user (.lflg2,13).
- mon
- user being monitored by master user (.lflg2,33). (This
will never appear, so you will never know.)
- lti
- time waiting for terminal input, if any (.lflg2,35).
- mwt
- user has "**mail waiting" message pending
(.lflg2,16).
- apb
- user hasn't seen the broadcast message yet (.lflg2,2).
- spc
- user has a special message from operator pending
(.lflg2,3).
- dis
- user has disconnected -- UST will be terminated after
time shown expires (.lflg2,12).
- prt
- a line is to be printed when the user uses CONNECT to
reconnect (.lflg2,11).
- crn
- user is in command file mode (.lflg2,4).
- wak
- user asleep (.ldrl).
- fsy
- user in file system activity (.ldrl).
- hld
- user in hold (.lswth,11).
- lds
- user has LODS privilege (.lacpt,21).
- tlk
- user has TALK privilege (.lacpt,20).
- crd
- user has CARDIN privilege (.lacpt,19).
- ldx
- user has LODX privilege (.lacpt,18).
The +Bits option will cause the four permission bit flags to
be printed where applicable.
Copyright © 1996, Thinkage Ltd.