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.

Response 1:<br />

If a virtual machine user is logged on at the device, you see a response like this:<br />

query ldev L101<br />

GRAF L0101 LOGON AS JIM 0009 HOST P<strong>VM</strong><br />

Ready;<br />

This means that user ID JIM is logged on to the graphic display device at logical<br />

device number L0101 <strong>and</strong> is using virtual console address 0009. P<strong>VM</strong> is the user<br />

ID that created the specified logical device.<br />

Response 2:<br />

If the logical device is dedicated to a user, you see a response like this:<br />

query L102<br />

PRT L0102 ATTACHED TO SUSIE 002A<br />

Ready;<br />

L0102 is the logical device number of the printer. The printer is attached as the<br />

virtual device 002A to user SUSIE’s virtual machine.<br />

Response 3:<br />

If the system is using a logical device that needs operator intervention, you see a<br />

response like this:<br />

query ldev L103<br />

A GRAF L0103 intervention required.<br />

GRAF L0103 LOGON AS LAYLA 03E0 HOST P<strong>VM</strong><br />

Ready;<br />

L0103 is the logical device number of the graphic display that needs intervention.<br />

P<strong>VM</strong> is the user ID that created the specified logical device.<br />

If the logical device that needs system intervention is a printer, you see a response<br />

like this:<br />

q L102<br />

A printer L0102 intervention required.<br />

PRT L0102 ATTACHED TO SUSIE 0102<br />

Ready;<br />

Response 4:<br />

If the device is free, you see a response like this:<br />

query ldev L102-L105<br />

GRAF L0102 ENABLED HOST T<strong>CP</strong>IP FROM 9.130.58.78<br />

GRAF L0103 ENABLED HOST P<strong>VM</strong><br />

PRT L0104 DISABLED HOST P<strong>VM</strong><br />

GRAF L0105 ENABLED HOST T<strong>CP</strong>IP FROM 9.130.58.29<br />

Ready;<br />

P<strong>VM</strong> <strong>and</strong> T<strong>CP</strong>IP are the user IDs that created the specified logical devices.<br />

If you do not specify LDEVS, <strong>CP</strong> omits the host information at the end of each<br />

response <strong>and</strong> displays instead information on up to 3 logical devices on each line:<br />

query ldevs L0102-L0105<br />

GRAF L0102 ENABLED , GRAF L0103 ENABLED , PRT L0104 DISABLED<br />

GRAF L0105 ENABLED<br />

Ready;<br />

QUERY LDEVS<br />

Chapter 2. <strong>CP</strong> <strong>Comm<strong>and</strong>s</strong> 843

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

Saved successfully!

Ooh no, something went wrong!