TERMINAL-STATUS

From NDWiki
Jump to navigation Jump to search
@TERMINAL-STATUS <logical device no.>, <interval>

List the status of one or all active terminals.

<logical device no.>
(decimal, default = all active terminals) must be a terminal.
<interval>
(decimal, default = 0) time interval in seconds between each time the listing is output, 0 = only one listing.

The information listed is:

LOG NO.:      logical device number
MODE:         COMMAND or USER (executing user program)
CPU MIN:      CPU time used in minutes
OUT OF:       total time logged on
LAST COMMAND: last SINTRAN command or last input line entered on terminal  (only first 20 characters)

Rules:

  1. Permitted for all users.
  2. Periodic output is terminated by pressing "escape".

Example:

@TERMINAL-STATUS 35,5
(form feed is output)
LOG NO. USER      MODE  CPU-MIN  OUT OF  LAST COMMAND
35      USER ONE  USER  13       91      TERMINAL-ST

The same output will be printed again after 5 seconds.

Related commands

@WHO-IS-ON

References

Norsk Data Document ND–60.128.03 SINTRAN III REFERENCE MANUAL (printed February 1983), page 1-215

Norsk Data Document ND–60.174.Q01 SINTRAN III QUICK REFERENCE CARD