MONITOR ENQ command: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (Automatically generated page update)
 
m (→‎Usage notes: misc formatting)
Line 10: Line 10:
</p>
</p>
==Usage notes==
==Usage notes==
<p>The table below shows the <var class="product">Model&nbsp;204</var> messages and display output of a MONITOR ENQ command at the terminal and in CCAAUDIT.</p>
<p>
====MONITOR ENQ Output====
The table below shows the <var class="product">Model&nbsp;204</var> messages and display output of a <var>MONITOR ENQ</var> command at the terminal and in CCAAUDIT.</p>
 
====MONITOR ENQ output====
<table>
<table>
 
<tr class="head"> <th>
<tr> <th>
<p>Message</p>
<p>Message</p>
</th> <th>
</th> <th>
Line 32: Line 33:
<tr> <th><var>
<tr> <th><var>
<p>M204.1929:</p>
<p>M204.1929:</p>
</var></th> <td>
</var></th> <td nowrap>
<p>NUMBER OF COMPACTIONS=<i>nnn</i></p>
<p>NUMBER OF COMPACTIONS=<i>nnn</i></p>
</td> <td>
</td> <td>
Line 73: Line 74:
<p>M204.1932:</p>
<p>M204.1932:</p>
</var></th> <td>
</var></th> <td>
<p>REQUIRED LRETBL=HWM # BYTES / NUSERS</p>
<p>REQUIRED LRETBL=<br>HWM # BYTES / NUSERS</p>
</td> <td>
</td> <td>
<p>Use as a rule of thumb: The required LRETBL setting for the current system load is equal to the high water mark for the number of bytes, divided by the number of active users. You might require more bytes-for example, if a user runs a table that requires large amounts of record enqueuing space.     </p>
<p>Use as a rule of thumb: The required LRETBL setting for the current system load is equal to the high water mark for the number of bytes, divided by the number of active users. You might require more bytes-for example, if a user runs a table that requires large amounts of record enqueuing space. </p>
</td> </tr>
</td> </tr>
    
    
</table>
</table>
==Example==
==Example==
<p class="code">MONITOR ENQ
<p class="code">MONITOR ENQ

Revision as of 22:01, 9 November 2015

Summary

Privileges
System administrator
Function
Monitors the record locking table of an Online system

Syntax

MONITOR ENQ

Usage notes

The table below shows the Model 204 messages and display output of a MONITOR ENQ command at the terminal and in CCAAUDIT.

MONITOR ENQ output

Message

Display information

Meaning

M204.1929:

NUMBER OF USERS=nnn

The number of active users.

M204.1929:

NUMBER OF COMPACTIONS=nnn

The number of compactions of the record locking table.

M204.1930:

CURRENT # BYTES=nnn

The current number of bytes used in the record locking table.

M204.1930:

HWM # BYTES=nnn

The current high water mark for the number of bytes used in the record locking table.

M204.1931:

CURRENT # HEADERS=nnn

The current number of headers used in the record locking table.

M204.1931:

HWM HEADERS=nnn

The current high-water mark for the number of headers used in the record locking table.

M204.1932:

REQUIRED LRETBL=
HWM # BYTES / NUSERS

Use as a rule of thumb: The required LRETBL setting for the current system load is equal to the high water mark for the number of bytes, divided by the number of active users. You might require more bytes-for example, if a user runs a table that requires large amounts of record enqueuing space.

Example

MONITOR ENQ AD /// M204.1929: NUMBER OF USERS = 3, NUMBER OF COMPACTIONS = 0 AD /// M204.1930: CURRENT # BYTES = 108, HWM # BYTES = 152 AD /// M204.1931: CURRENT # HEADERS = 3, HWM HEADERS = 3 AD /// M204.1932: REQUIRED LRETBL = 8