ESU, Extended Show Users
| Site
| Docs
| Ref
| Resources
| Community
| FeedBack
|
| Mail
| Web
| Software
| Classes
| FAQs
|
ESU is a utility which builds a list of processes on the system, optionally sorts & sifts the list, formats the list for output, and displays the list on the terminal device.
$ ESU [/opt[/opt]] [user-prefix [user-prefix]][/opt[/opt]]
Options are prefixed with a slash and may appear anywhere on the command line. User-prefixes must be preceded by space character and also may appear anywhere on the command line. The following examples are all equivelent commands:
In the examples above, notice that two options "/w" and "/c" have been selected, and three user-prefixes "nen" "rw" and "cb" have been defined. The above examples are requesting ESU to list all users whose usernames' begin with either NEN, RW, or CB.
ESU recognizes four types of options to perform its job:
Although ESU does not require any options to provide a list of users, using the option commands gives the user control of the "who/what, where, and when" of listing system processes.
Options which have parameters are additive, and you may use the VMS listing method at your discression, i.e. $ esu/g=(4,10,12) is equivelent to using $ esu/g=4,10,12
Every process on the system has the following list of items associated with it. ESU uses a single character to represent each item:
| Option | Item | Definition |
| A | Alias | Process Name |
| B | Buffer & Direct I/O | Summed I/O count |
| D | PID | Process identification number (HEX) |
| E | Elapsed Time | How long the process has been logged on |
| F | Account Field | Internal administrative code |
| G | Group | Group number of the process's UIC (Octal) |
| I | Image | Image file name |
| J | Job Type | Execution mode at the root of the job tree |
| K | State | State of the process |
| L | Location | Location of the owner's terminal |
| M | Mode | Mode of the process |
| N | Node | VMScluster node on which the process is running |
| P | Port Name | Access port name for the terminal |
| Q | CPU Time (Quantum) | Accumulated CPU time in 10-millisecond ticks |
| T | Terminal | process's login terminal |
| U | UserName | Owner of the process |
Below, arranged by category, are each of the options and examples of how to use them. Each example will show both a single and multiple use of an option, if a multiple use is available.
Selection is carried out by using each of the above option letters, a comparison token, and a selection field. The selection field is a string which defines the criterion for the selection, and the comparison token is a single character from the table below:
| Token | Operation | Definition |
| = | EQUAL | Test for equivelence |
| - | NOT | Test for difference |
| > | GREATER | Test for succession |
| < | LESS THAN | Test for antecedence |
+----token
option------+| +----selection field
command---------+ || |
| || |
v vv v
esu /i=mail
For example:
The comparison tokens work on all items, not just group. The selection field is composed of any characters except for the "!" exclamation point, which DCL will not pass to the program. The selection field may contain the wildcard characters "%" or "*", for single or multiple expansion.
For example:
Selection options are additive. The equivelence tests use a logical OR operation, while the remaining tests use a logical AND function.
For example:
Usernames may be specified as prefixes on the commandline. When used in
this fashion a parameter is equivelent to /u=
For example:
this would be a command to select all usernames beginning with "NE",
"R", or "CB".
Default selections:
Most of the selection options have defaults in place for quick selection.
By entering a selection option without any parameters or tokens, the
following table shows what to expect.
For example:
Using the above methods for selection, it should be possible to select
any possible subset of processes that one desires. If NO selection options
are specified, ESU sets the default selections to /m=INTER (all interactive
processes on the system).
The /BR option is used to deselect any records which would cause a
multiple listing of a username. In other words, if you wish only to
see a single username for each process, when some users are running
multiple processes, the /BR switch will cancel the extra listings.
For example:
Use the /S=
For example:
If no sorting options are specified, ESU does not perform a sort.
Use the /O=
For example:
There are four output options which are used for quick display setups.
Each has its own
For example:
If no output options are specified, ESU uses /o=DNKUTPEI as a default.
If no display options are specified, ESU defaults to page mode, with
banners and titles, and does not show this help.
If no options are specified at all, ESU defaults to:
$ esu /m=INTR/o=DNKUTPEI
Option-J POSSIBLE JOB TYPES:
Option-M POSSIBLE PROCESS MODES:
Option-K POSSIBLE STATES:
Information Services, Central Computing
$ esu ne r cb is equivelent to esu /u=ne*,r*,cb*
Option Default Purpose
E >0-1 To select all "old" processes, older than 10 hours G =12 To select all Student Assistants I =MAIL To select all processes running mail J =N* To select all Network processes K =*M* To select all processes in a COM or MWAIT state M =B* To select all Batch processes P =*]* To select all processes with unamed internet addresses T =F* To select all FTAXXX terminals U >@ To select all usernames (without
$ esu/m to select all batch jobs
$ esu/m/g to select all batch jobs submitted by Student Assistants
$ esu/g/i to select all Student Assistants running MAIL
$ esu/br to show all interactive sessions without multiple
instances of usernames.
$ esu /s=niua will sort by node, by image, by username, then alias.
$ esu /s-u will reverse sort by username.
$ esu /u/s=u will sort by username, deselecting
$ esu /br/u/s=u will sort by username, deselecting
$ esu /o=ieptuknd will display image, elapsed time, port, terminal,
username, state, node, and PID.
Alternative Setups:
Opt Equivelent Purpose
/R /O=DUNALEI/S=UNA Outputs general information in local alternative format. /X /O=DNKMJUABQEGIF Outputs CPU-TIME and I/O count for watching batch jobs. /W /O=DNKUPEI/S=G For reverse compatibility, removes the terminal name. /L /U/BR/O=UNLPTIF Used to locate a user. /S=UNAPFT
/C
CONTIN
Display is paged continuously.
Use the Up and Down arrow keys to scroll.
Use the Lft and Rht arrow keys to scroll.
The "Prev" key goes to the previous page of the list.
The "Next" key goes to the next page of the list.
Use the gold-key PF1 and arrow keys to go far left
far right, to the top, or the bottom of the list.
Press RETURN or SPACEBAR to quit continuous mode. /P PAGE Displays output without page breaks. /SB SBANNER Suppresses the display of the Banner. /ST STITLE Suppresses the display Titles. /H or /? HELP Displays this help.
APPENDIX:
DETP - DETACHED
NETW - NETWORK
BATJ - BATCH
LOCL - LOCAL
DIAL - DIALUP
RMOT - REMOTE
n/a - ERROR
OTHR - OTHER
NETW - NETWORK
BATJ - BATCH
INTR - INTERACTIVE
n/a - ERROR
COLP - Collided page wait
MWAI - Mutex and miscellaneous resource wait
CEF - Common event flag wait
PFW - Page fault wait
LEF - Local event flag wait
LEFO - Local event flag wait, out of balance set
HIB - Hibernate wait
HIBO - Hibernate wait, out of balance set
SUSP - Suspended
SSPO - Suspended, out of balance set
FPG - Free page wait
COM - Computable
COMO - Computable, out of balance set
CUR - Current process
ERR - ERROR
University
of Missouri Kansas City