MONITOR command: SERVSIZE, LSERVER and server number: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (Automatically generated page update)
 
m (misc formatting)
Line 4: Line 4:
<dd>System administrator
<dd>System administrator
<dt>Function
<dt>Function
<dd>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.  
<dd>Displays information regarding servers defined to the Online. <var>SERVSIZE</var> and <var>LSERVER</var> are displayed for each server defined, and if the server is currently occupied by a user, standard user information is also provided.  
</dl>
</dl>
==Syntax==
==Syntax==
<p class="syntax"><b>M</b>ONITOR
<p class="syntax"><b>M</b>ONITOR (<i>s1, s2, s3</i>...) SERV [SL] [CHKP | SUBTRAN] [USERLIST]  
        (<i>s1, s2, s3</i>...) SERV [SL] [CHKP | SUBTRAN] [USERLIST]  
</p>
</p>
<p>where: </p>
<p>
Where: </p>
<table>  
<table>  
<tr>
<tr>
<th><var>SERV</var></th>
<th><var>SERV</var></th>
<td> specifies to display information regarding all servers defined to the Online.</td>
<td>Display information regarding all servers defined to the Online.</td>
</tr>
</tr>
   
   
<tr>
<tr>
<th><var>(s1, s2, s3...) SERV</var></th>
<th nowrap><var>(<i>s1</i>, <i>s2</i>, <i>s3</i>...) SERV</var></th>
<td> specifies to display information for only the named servers defined to the Online.</td>
<td>Display information for only the named servers defined to the Online.</td>
</tr>
</tr>
   
   
<tr>
<tr>
<th><var>SL</var></th>
<th><var>SL</var></th>
<td> specifies to display the since last statistics.</td>
<td>Display the since last statistics.</td>
</tr>
</tr>
   
   
<tr>
<tr>
<th><var>CHKP</var></th>
<th><var>CHKP | SUBTRAN</var></th>
<td> or <var>SUBTRAN</var> specify to display information regarding transaction checkpoints (CHKP) or both transaction and sub-transaction checkpoints (SUBTRAN). See [[MONITOR command: Checkpoints-transaction and sub-transaction|MONITOR: Checkpoints-transaction and sub-transaction]] for more details and examples.</td>
<td>Display information regarding transaction checkpoints (CHKP) or both transaction and sub-transaction checkpoints (SUBTRAN). See [[MONITOR command: Checkpoints-transaction and sub-transaction|MONITOR: Checkpoints-transaction and sub-transaction]] for more details and examples.</td>
</tr>
</tr>
   
   
<tr>
<tr>
<th><var>USERLIST</var></th>
<th><var>USERLIST</var></th>
<td> causes the basic user line to appear for every user who inhibits checkpoints.</td>
<td>Display the basic user line for every user who inhibits checkpoints.</td></tr>
</tr>
</table>
</table>
==Usage notes==
==Usage notes==
The following syntax is supported:  
The following syntax is supported:  
Line 46: Line 46:
MONITOR SUBTRAN USERLIST SERV SL
MONITOR SUBTRAN USERLIST SERV SL
</p>
</p>
==Example==
==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:  
Only servers, in order by definition, are reported. If <code>NSERVS=20</code>, only twenty lines of output are produced. If any server is occupied by a user, standard user information is also provided:  
<p class="code">USER SVR USERID    SERVSIZE LSERVER FUNC CNCT    CPU  SEQIO QUE  WT FLGS
<p class="code">USER SVR USERID    SERVSIZE LSERVER FUNC CNCT    CPU  SEQIO QUE  WT FLGS
       1            111000  77400                        WTUS
       1            111000  77400                        WTUS
Line 58: Line 59:
   8  8 USER01      840000  47016 EDIT  94  0.003    81 BLKI 3 66
   8  8 USER01      840000  47016 EDIT  94  0.003    81 BLKI 3 66
</p>
</p>
<p>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.</p>
<p>
This display shows all servers (<code>NSERVS=8</code>), in order by definition, defined to this Online. Included on each line are the <var>SERVSIZE</var> for each server and the current number of bytes in use (<var>LSERVER</var>). Three servers, 1, 2, and 5, are waiting for user WTUS.</p>
 
[[Category: System administrator commands]]
[[Category: System administrator commands]]
[[Category:Commands]]
[[Category:Commands]]

Revision as of 20:21, 16 August 2016

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.