MONITOR PROCESS command: Difference between revisions

From m204wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<p>The output of the MONITOR PROCESS command includes a detail line for each active conversation. Detail line headings, which depend on the intersystem facility monitored, are a subset of those shown in the table below.</p>
==Overview==
For the summary, syntax, and usage notes, see [[MONITOR command: Intersystem network entities]].
 
==Output==
<p>The output of the <var>MONITOR PROCESS</var> command includes a detail line for each active conversation. Detail line headings, which depend on the intersystem facility monitored, are a subset of those shown in the table below.</p>
<table>
<table>
<caption>MONITOR PROCESS detail line</caption>
<caption>MONITOR PROCESS detail line</caption>
      
      
<tr> <th>
<tr class="head"> <th>Display heading</th> <th>Meaning</th> </tr>
<p>Display heading</p>
</th> <th>
<p>Meaning</p>
</th> </tr>
 
<tr> <th><var>
<tr> <th><var>
<p>USER</p>
<p>USER</p>
Line 68: Line 67:
<p>SEND</p>
<p>SEND</p>
</td> </tr>
</td> </tr>
 
</table>
</table>
<p>Example of Horizon for VTAM or Horizon for VTAM process</p>
==Examples==
<p>The following is an example of MONITOR PROCESS output for a Horizon process: </p>
===Example of Horizon for VTAM or Horizon for VTAM process===
<p>The following is an example of <var>MONITOR PROCESS</var> output for a Horizon process: </p>
<p class="code"><nowiki>MONITOR PROCESS PROCESS1
<p class="code"><nowiki>MONITOR PROCESS PROCESS1
USER CID      PROCESSGRP STARTED    SENDS  RECVS  FLGS  STATE
USER CID      PROCESSGRP STARTED    SENDS  RECVS  FLGS  STATE
Line 97: Line 96:
   
   
<li>
<li>
<p>The number of physical sends and receives (SENDS and RECVS) is shown, as well as the conversation state (STATE) when the MONITOR command was given. </p>
<p>The number of physical sends and receives (SENDS and RECVS) is shown, as well as the conversation state (STATE) when the <var>MONITOR</var> command was given. </p>
</li>
</li>
   
   
Line 104: Line 103:
</li>
</li>
  </ul>
  </ul>
====Example of Horizon for TCP/IP or Horizon for TCP/IP process====
===Example of Horizon for TCP/IP or Horizon for TCP/IP process===
<p>The following is an example of MONITOR PROCESS output for a Horizon for TCP/IP process:</p>
<p>The following is an example of <var>MONITOR PROCESS</var> output for a Horizon for TCP/IP process:</p>
<p class="code"><nowiki>MONITOR PROCESS CCARSQL
<p class="code"><nowiki>MONITOR PROCESS CCARSQL
USER  CID      PROCESSGRP  STARTED      SENDS  RECVS  STATE
USER  CID      PROCESSGRP  STARTED      SENDS  RECVS  STATE
Line 127: Line 126:
   
   
<li>
<li>
<p>The number of physical sends and receives (SENDS and RECVS) is shown, as well as the conversation state (STATE) when the MONITOR command was given.</p>
<p>The number of physical sends and receives (SENDS and RECVS) is shown, as well as the conversation state (STATE) when the <var>MONITOR</var> command was given.</p>
</li>
</li>
  </ul>
  </ul>
====Example of TPROCESS process====
===Example of TPROCESS process===
<p>The following is an example of MONITOR PROCESS output for a CICS TPROCESS process:</p>
<p>The following is an example of <var>MONITOR PROCESS</var> output for a CICS TPROCESS process:</p>
<p class="code"><nowiki>MONITOR PROCESS PS4CICS
<p class="code"><nowiki>MONITOR PROCESS PS4CICS
USER CID      PROCESSGRP STARTED    SENDS  RECVS  FLGS  STATE
USER CID      PROCESSGRP STARTED    SENDS  RECVS  FLGS  STATE
Line 156: Line 155:
   
   
<li>
<li>
<p>The conversation state (STATE) when the MONITOR command was given was SEND, and conversation physical sends and receives (SENDS, RECVS) are not counted. </p>
<p>The conversation state (STATE) when the <var>MONITOR</var> command was given was SEND, and conversation physical sends and receives (SENDS, RECVS) are not counted. </p>
</li>
</li>
   
   
<li>
<li>
<p>In the conversation, the User Language request initiates ("first speaker") and is considered outbound (FLGS=BFO).         </p>
<p>In the conversation, the User Language request initiates ("first speaker") and is considered outbound (FLGS=BFO).</p>
</li>
</li>
  </ul>
  </ul>
[[Category:Commands]]
[[Category:Commands]]

Latest revision as of 23:03, 28 March 2017

Overview

For the summary, syntax, and usage notes, see MONITOR command: Intersystem network entities.

Output

The output of the MONITOR PROCESS command includes a detail line for each active conversation. Detail line headings, which depend on the intersystem facility monitored, are a subset of those shown in the table below.

MONITOR PROCESS detail line
Display heading Meaning

USER

External user number

CID

Conversation ID For Parallel Query Option/204 processes: Server, displays CCAD2S Client, displays concatenation of processgroup REMOTEID and LINK values

PROCESSGRP

Processgroup name, specified in FROM parameter of process definition

STARTED

Julian date and time the conversation began

SENDS

Number of physical sends

RECVS

Number of physical receives

FLGS

Session status flags; possible values are:

B (bound)

F (first speaker)

I (inbound)

O (outbound)

STATE

Conversation state; possible values are:

ACCEPT

CLOSE

CONFCLS (confirm close)

CONFIRM

CONFSND (confirm send)

INITIAL

RECV

SEND

Examples

Example of Horizon for VTAM or Horizon for VTAM process

The following is an example of MONITOR PROCESS output for a Horizon process:

MONITOR PROCESS PROCESS1 USER CID PROCESSGRP STARTED SENDS RECVS FLGS STATE ---- -------- ---------- ----------- ----- ----- ---- ----- 3 PROGRAM1 DENVER 93349135723 5 4 BI RECV 4 PROGRAM1 DENVER 93349135803 7 3 BI RECV

In the example:

  • Two conversations are in progress with the process named PROCESS1. The conversations are running as Users 3 and 4.

  • The CID the user assigned in the User Language OPEN PROCESS statement is PROGRAM1.

  • Both conversations were invoked from processgroup DENVER.

  • The time STARTED is shown as the Julian date (93349) and the time-of-day (13:57:23).

  • The number of physical sends and receives (SENDS and RECVS) is shown, as well as the conversation state (STATE) when the MONITOR command was given.

  • The session flags (FLGS) indicate that both conversations are inbound.

Example of Horizon for TCP/IP or Horizon for TCP/IP process

The following is an example of MONITOR PROCESS output for a Horizon for TCP/IP process:

MONITOR PROCESS CCARSQL USER CID PROCESSGRP STARTED SENDS RECVS STATE ---- -------- ---------- ----------- ----- ----- ----- 3 CCARSQL PGUNIX1 94006130621 9 9 SEND 4 CCARSQL PGUNIX1 94006130618 12 12 RECV

In the example:

  • Two conversations are in progress with the Model 204 SQL process CCARSQL. The conversations are invoked from processgroup PGUNIX1 and are running as Users 3 and 4.

  • Since a Connect:cannot supply a CID value, CID is the process name, CCARSQL.

  • The time STARTED is shown as the Julian date (94006) and the time-of-day (13:06:21).

  • The number of physical sends and receives (SENDS and RECVS) is shown, as well as the conversation state (STATE) when the MONITOR command was given.

Example of TPROCESS process

The following is an example of MONITOR PROCESS output for a CICS TPROCESS process:

MONITOR PROCESS PS4CICS USER CID PROCESSGRP STARTED SENDS RECVS FLGS STATE ---- -------- ---------- ----------- ----- ----- ---- ----- 5 PS4CICS PGP4CICS 94069103013 0 0 BFO SEND

In this example:

  • A conversation is in progress with the process named PS4CICS. The user thread number of the conversation is 5.

  • The user assigned no CID in the User Language OPEN PROCESS statement, so by default the CID is the process name.

  • PS4CICS belongs to processgroup PGP4CICS.

  • The time STARTED is shown as the Julian date (94069) and the time-of-day (10:30:13).

  • The conversation state (STATE) when the MONITOR command was given was SEND, and conversation physical sends and receives (SENDS, RECVS) are not counted.

  • In the conversation, the User Language request initiates ("first speaker") and is considered outbound (FLGS=BFO).