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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

MONITOR SAMPLE<br />

Usage Notes<br />

USER USERID userid<br />

specifies a list of users that are to be enabled or disabled for sample data<br />

collection. userid is a list of one or more user identifiers, separated by blanks.<br />

SAMPle INTerval n MINutes<br />

SAMPle INTerval n SEConds<br />

specifies the time interval at which the sample data is to be reported. MINUTES<br />

is the default. For additional information, see “Specific Usage Notes for<br />

INTERVAL” on page 640.<br />

SAMPle RATE n SECONDS<br />

specifies the frequency at which the high-frequency sample data is to be<br />

sampled. The oper<strong>and</strong> n is the length of time between high-frequency sampling.<br />

High-frequency sample data is a set of counters <strong>and</strong> data that represent the<br />

state of the system at the moment they are sampled.<br />

High-frequency sampling is automatically activated whenever the MONITOR<br />

SAMPLE START comm<strong>and</strong> is issued, unless the RATE value has been<br />

previously set to STOP. For additional information, see “Specific Usage Notes<br />

for RATE” on page 640.<br />

SAMPle RATE STOP<br />

immediately terminates the sampling of high-frequency data. Data for the<br />

current interval is lost.<br />

SAMPle CONFIG SIZE n<br />

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

SAMPLE configuration records.<br />

SAMPle CONFIG LIMIT n MINutes<br />

SAMPle CONFIG LIMIT N SEConds<br />

specifies the time limit that the configuration records remain in the CONFIG<br />

area of the saved segment before they are refreshed or zeroed.<br />

SAMPle STArt<br />

starts sample monitoring for the domains <strong>and</strong> their elements specified in<br />

preceding MONITOR SAMPLE comm<strong>and</strong>s.<br />

If no application is connected (with an active path) for sample data when the<br />

comm<strong>and</strong> is issued, sample recording is held pending. However, high-frequency<br />

sampling, if enabled, is started.<br />

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

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

domain are generated. Sample configuration records include information<br />

concerning the memory, processor, paging, real I/O configurations, <strong>and</strong> initial<br />

sample configuration settings.<br />

SAMPle STOP<br />

deactivates sample monitoring. Collection of single sample data <strong>and</strong> high<br />

frequency data are stopped. All data collected for the current interval are<br />

purged. The monitor sample profile is not affected by this comm<strong>and</strong>.<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 />

(General)<br />

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

1. The following must be done to activate sample recording:<br />

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

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

Saved successfully!

Ooh no, something went wrong!