27.12.2012 Views

z/VM: CP Commands and Utilities Reference - z/VM - IBM

z/VM: CP Commands and Utilities Reference - z/VM - IBM

z/VM: CP Commands and Utilities Reference - z/VM - IBM

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

MONITOR<br />

Purpose<br />

Usage Notes<br />

Use the MONITOR comm<strong>and</strong>s to control the selection, collection, <strong>and</strong> reporting of<br />

data from the host system:<br />

v MONITOR EVENT controls monitoring of event data<br />

v MONITOR SAMPLE controls monitoring of sample data<br />

v MONITOR START starts both event <strong>and</strong> sample monitoring<br />

v MONITOR STOP stops all monitoring.<br />

(General for MONITOR)<br />

1. MONITOR comm<strong>and</strong>s can be run from virtual machines with the A/E privilege.<br />

In order to avoid conflict among the comm<strong>and</strong>s, the administrator should be<br />

aware of the virtual machines that have the privilege to run the monitor<br />

comm<strong>and</strong>s.<br />

2. MONITOR START can be issued before or after a user connects to *MONITOR.<br />

If the MONITOR START comm<strong>and</strong> is issued before any connection to<br />

*MONITOR, monitor recording goes into a pending state until a user connects to<br />

*MONITOR. The following must be done before the monitor recording gets<br />

activated:<br />

v A saved segment must be defined <strong>and</strong> saved for the monitor<br />

v An application program running in a virtual machine must load the monitor<br />

saved segment <strong>and</strong> connect to the *MONITOR <strong>CP</strong> system service<br />

v A MONITOR START comm<strong>and</strong> must be issued.<br />

3. Both the event <strong>and</strong> sample profiles can be changed after monitoring has<br />

started. Note that:<br />

v Partition size of the saved segment cannot be changed unless event<br />

monitoring is stopped.<br />

New event domains are activated upon completion of the EVENT comm<strong>and</strong>,<br />

<strong>and</strong> new sample domains are activated when the next interval elapses.<br />

4. For a detailed description of data collected, refer to the monitor records in z/<strong>VM</strong>:<br />

Performance.<br />

5. The valid classes <strong>and</strong> types for use with Seeks <strong>and</strong> I/O domains are listed in<br />

the following table:<br />

Table 16. Valid Classes <strong>and</strong> Types for Seeks <strong>and</strong> I/O Domains<br />

CLASS TYPE Other TYPES Included Valid for Seeks Valid for I/O<br />

3480 X<br />

3490 X<br />

3590 X<br />

3380 X X<br />

3390 X X<br />

9336 X X<br />

FB-512 1<br />

9336 X X<br />

SPOOL 1403 X<br />

3203 X<br />

3262 X<br />

3505 X<br />

MONITOR<br />

Chapter 2. <strong>CP</strong> <strong>Comm<strong>and</strong>s</strong> 623

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!