MONITOR command: SERVSIZE, LSERVER and server number

From m204wiki
Revision as of 01:05, 28 February 2013 by Alex (talk | contribs) (Automatically generated page update)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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 specifies to display information regarding all servers defined to the Online.
(s1, s2, s3...) SERV specifies to display information for only the named servers defined to the Online.
SL specifies to display the since last statistics.
CHKP or SUBTRAN specify to 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 causes the basic user line to appear 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, then 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.