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.

QUERY SCMEASURE<br />

QUERY SCMEASURE<br />

►►<br />

Query<br />

Authorization<br />

Purpose<br />

Oper<strong>and</strong>s<br />

SCMeasure<br />

Usage Notes<br />

▼<br />

rdev<br />

rdev1-rdev2<br />

Privilege Class: B, E<br />

Use QUERY SCMEASURE to display whether subchannel measurement data is<br />

being collected for a specific device or range of devices.<br />

rdev<br />

rdev1-rdev2<br />

is the real device number (or numbers) of the device for which you want to<br />

display subchannel measuring status. The variable rdev must be a hexadecimal<br />

number between X'0000' <strong>and</strong> X'FFFF'. You can specify a single device address,<br />

a range of device addresses, or any combination thereof.<br />

1. Subchannel measurement blocks (SCMBKs) are used to accumulate data about<br />

a subchannel, such as rate <strong>and</strong> utilization information. This subchannel<br />

measurement data, which <strong>CP</strong> Monitor collects in various monitor records, can<br />

be useful for analyzing the I/O performance characteristics of a real device.<br />

2. To enable or disable the collecting of subchannel measurement data for one or<br />

more devices, use the SET SCMEASURE comm<strong>and</strong> (page 1377).<br />

3. When a device is first initialized, the default is to enable it for collecting<br />

subchannel measurements. To change this initial default, use the<br />

SCMEASURED or NOTSCMEASURED oper<strong>and</strong>s of the DEVICES statement in<br />

the system configuration file. For more information about the DEVICES<br />

statement, see the z/<strong>VM</strong>: <strong>CP</strong> Planning <strong>and</strong> Administration book.<br />

4. Error messages produced for this comm<strong>and</strong> may vary depending on how the<br />

device was specified on the comm<strong>and</strong> line.<br />

When a single device is listed on the comm<strong>and</strong> line, an error will be reported if<br />

there is no query information available for the single device. For example:<br />

query scmeasure 102<br />

Device 0102 does not exist<br />

Ready(00040);<br />

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

When a range of devices is listed on the comm<strong>and</strong> line, only devices that have<br />

query information available are shown. Error messages are not issued for<br />

individual devices within the range. For example:<br />

query scmeasure 100-105<br />

Subchannel measuring for device 103 is on<br />

Subchannel measuring for device 104 is off<br />

Ready;<br />

►◄

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

Saved successfully!

Ooh no, something went wrong!