MONITOR command: SERVSIZE, LSERVER and server number

From m204wiki
Revision as of 20:21, 16 August 2016 by JAL (talk | contribs) (misc formatting)
Jump to navigation Jump to search

Summary

Privileges
System administrator
Function
Displays information regarding servers defined to the Online. SERVSIZE and LSERVER are displayed for each server defined, and if the server is currently occupied by a user, standard user information is also provided.

Syntax

MONITOR (s1, s2, s3...) SERV [SL] [CHKP | SUBTRAN] [USERLIST]

Where:

SERV Display information regarding all servers defined to the Online.
(s1, s2, s3...) SERV Display information for only the named servers defined to the Online.
SL Display the since last statistics.
CHKP | SUBTRAN Display information regarding transaction checkpoints (CHKP) or both transaction and sub-transaction checkpoints (SUBTRAN). See MONITOR: Checkpoints-transaction and sub-transaction for more details and examples.
USERLIST Display the basic user line for every user who inhibits checkpoints.

Usage notes

The following syntax is supported:

MONITOR SERV MONITOR SERV SL MONITOR (s1,s2,s3...) MONITOR CHKP USERLIST SERV MONITOR SUBTRAN USERLIST SERV SL

Example

Only servers, in order by definition, are reported. If NSERVS=20, only twenty lines of output are produced. If any server is occupied by a user, standard user information is also provided:

USER SVR USERID SERVSIZE LSERVER FUNC CNCT CPU SEQIO QUE WT FLGS 1 111000 77400 WTUS 2 222000 117000 WTUS 5 3 CCAD01 128800 28792 EVAL 320 0.308 25 REDY 1 4 CCAD02 777000 97296 DISP 1 0.000 8 BLKI 3 60 5 85000 85000 WTUS 6 6 SUPERKLUGE 666000 117000 25 0.021 3814 RUNG 9 7 CCAB08 777000 747000 EVAL 0 0.202 3 BLKI 24 68 8 8 USER01 840000 47016 EDIT 94 0.003 81 BLKI 3 66

This display shows all servers (NSERVS=8), in order by definition, defined to this Online. Included on each line are the SERVSIZE for each server and the current number of bytes in use (LSERVER). Three servers, 1, 2, and 5, are waiting for user WTUS.