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 EVENT<br />

Usage Notes<br />

630 z/<strong>VM</strong>: <strong>CP</strong> <strong>Comm<strong>and</strong>s</strong> <strong>and</strong> <strong>Utilities</strong> <strong>Reference</strong><br />

USER USERID userid<br />

specifies a list of users to be enabled or disabled in the USER domain. userid is<br />

a list of one or more user IDs, separated by blanks.<br />

EVent BLock m<br />

specifies the maximum number of 4 KB pages, m, of the shared segment<br />

(saved segment), that are accumulated before the virtual machine is notified<br />

that the event data is available for data collection. You can modify m using the<br />

MONITOR EVENT BLOCK comm<strong>and</strong> while event monitoring is active.<br />

EVent STOP<br />

deactivates the event-driven data collection. The monitor event profile is not<br />

affected by this comm<strong>and</strong>, except for PARTITION, which is set to zero.<br />

Note: Do not use this comm<strong>and</strong> to stop the MONWRITE utility. (See<br />

“MONWRITE” on page 1853 for more information.)<br />

EVent STArt<br />

starts event monitoring for the domains <strong>and</strong> their elements listed in the event<br />

profile set by the preceding MONITOR EVENT comm<strong>and</strong>s.<br />

If no virtual machine is connected for event data (or no virtual machine<br />

connected for event data has an active path to *MONITOR) when the comm<strong>and</strong><br />

is issued, event recording is held pending.<br />

When recording is activated (that is, when there is a user connected with an<br />

active path for event data), event configuration records from the monitor domain<br />

are the first event records generated.<br />

BLOCK m<br />

specifies the maximum number of 4 KB frames of the shared segment, that<br />

are accumulated before the virtual machine is notified that the event data is<br />

available for data collection. The BLOCK value may be modified using the<br />

MONITOR EVENT BLOCK comm<strong>and</strong> while event monitoring is active.<br />

PARTITION n<br />

specifies the number of 4 KB pages in the shared segment to be reserved<br />

for event records. The rest of the shared segment is used for sample data.<br />

EVENT CONFIG LIMIT n MINutes<br />

EVENT CONFIG LIMIT n SEConds<br />

specifies the time limit a user can refer to the event configuration area before<br />

the data is refreshed or zeroed.<br />

EVENT CONFIG SIZE n<br />

specifies the size in 4 KB pages to be allocated in the saved segment for<br />

EVENT configuration records.<br />

(General)<br />

1. Both event <strong>and</strong> sample monitoring can be active at the same time. The<br />

MONITOR EVENT START comm<strong>and</strong> starts only event monitoring. To start both<br />

event <strong>and</strong> sample monitoring, see “MONITOR START/STOP” on page 643.<br />

Similarly, MONITOR EVENT STOP, stops only event monitoring while<br />

MONITOR STOP stops both event <strong>and</strong> sample monitoring.<br />

2. The following must be done to activate event recording:<br />

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

v A virtual machine must load the monitor saved segment <strong>and</strong> connect to<br />

*MONITOR for event data<br />

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

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

Saved successfully!

Ooh no, something went wrong!