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

QUERY SCMBKS<br />

►►<br />

Query<br />

Authorization<br />

Purpose<br />

SCMBKs<br />

Usage Notes<br />

Responses<br />

Privilege Class: B, E<br />

Use QUERY SCMBKS to display the:<br />

v Total number of subchannel measurement blocks (SCMBKs) that <strong>CP</strong> allocated,<br />

<strong>and</strong><br />

v Number (<strong>and</strong> percentage) of SCMBKs that are not currently being used.<br />

Format-1 measurement blocks: When format-1 measurement blocks are being<br />

used, measurement blocks are allocated dynamically.<br />

1. SCMBKs are used to accumulate data about a subchannel, such as rate <strong>and</strong><br />

utilization information. This subchannel measurement data, which <strong>CP</strong> Monitor<br />

collects in various monitor records, can be useful for analyzing the I/O<br />

performance characteristics of a real device.<br />

Format-0 measurement blocks:<br />

982 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. During initialization, <strong>CP</strong> allocates 1 SCMBK for every subchannel on the<br />

system <strong>and</strong> rounds the amount of storage up to the nearest page boundary.<br />

Thus, you have enough SCMBK space for every real device on your system<br />

plus some free SCMBK space. How much free SCMBK space you have will<br />

vary, depending upon how many real devices you have on your system.<br />

2. You should plan for additional SCMBK space if you intend to dynamically add<br />

new real devices to your running system. At initialization, you can allocate more<br />

free SCMBK space than <strong>CP</strong> would normally allocate using the SCMBK oper<strong>and</strong><br />

of the STORAGE statement in the system configuration file. For more<br />

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

3. If you run out of free SCMBK space on a running system <strong>and</strong> you need to<br />

measure additional real devices, you have two choices:<br />

a. Re-IPL <strong>and</strong> specify more free SCMBK space using the SCMBK oper<strong>and</strong>, or<br />

b. Stop collecting subchannel measurement data for one or more devices.<br />

When you use one of the following comm<strong>and</strong>s:<br />

v DELETE DEVICE (page 223)<br />

v DELETE IODEVICE (page 223)<br />

v DELETE RDEVICE (page 228)<br />

v SET SCMEASURE OFF (page 1377)<br />

<strong>CP</strong> returns the SCMBK assigned to that device (or devices) to the pool of<br />

available SCMBKs. It is then available to be used to collect subchannel<br />

measurement data for another device.<br />

To see information about the number of SCMBKs that <strong>CP</strong> allocated <strong>and</strong> information<br />

about the free SCMBK space, enter the following QUERY SCMBKS comm<strong>and</strong>:<br />

►◄

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

Saved successfully!

Ooh no, something went wrong!