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

QUERY SWITCHES<br />

►►<br />

Query<br />

Authorization<br />

Purpose<br />

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

Responses<br />

SWCH<br />

SWitches<br />

ACTive<br />

ALL<br />

ATTach<br />

BOXed<br />

FREe<br />

OFFline<br />

Privilege Class: B<br />

Use QUERY SWITCHES to display the status of real dynamic switching devices.<br />

ACTive<br />

indicates active dynamic switching devices. An active device is in use by a user<br />

or the system <strong>and</strong> is specified as neither FREE nor OFFLINE.<br />

ALL<br />

indicates all dynamic switching devices attached to the system. The status is<br />

displayed in ACTIVE, FREE, <strong>and</strong> OFFLINE order <strong>and</strong> is equivalent to the<br />

response you would receive if you entered all of the following comm<strong>and</strong>s:<br />

query swch active<br />

query swch free<br />

query swch offline<br />

ATTach userid<br />

indicates the dynamic switching devices that are dedicated to a user on the<br />

system. If you specify userid, only switching devices attached to that user’s<br />

virtual machine are indicated. If you do not specify userid, you receive the<br />

status of all switching devices dedicated to any user on the system. Attached<br />

devices are always active.<br />

BOXed<br />

indicates the dynamic switching devices that are unavailable, usually because<br />

of a hardware condition. A boxed device may also be active, free, or offline.<br />

FREe<br />

indicates all free dynamic switching devices. A free device is one not currently<br />

in use by a user or the system, <strong>and</strong> specified as neither ACTIVE nor OFFLINE.<br />

OFFline<br />

indicates all offline dynamic switching devices. An offline device is one specified<br />

as neither ACTIVE nor FREE.<br />

Response 1:<br />

userid<br />

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

►◄

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

Saved successfully!

Ooh no, something went wrong!