If you want to ...
Then use this command ...
Display the status of real
devices
CP QUERY
rdev1 rdev2
...
Examples:
v
For DASD:
query 280 7806
DASD 0280 CP SYSTEM XAUSR1
49
DASD 7806 ATTACHED TO ALAN 7806 R/W 610SPL
Ready;
In the first response line, the first number listed is the real
device number of the DASD. “SYSTEM” indicates the device
is allocated to the system for use as users’ minidisks.
“XAUSR1” is the volume label of the device. “49” indicates
there are 49 active links to the volume.
In the second response line, “ATTACHED TO ALAN”
indicates the DASD is dedicated to ALAN’s virtual machine
for its exclusive use.
query db41
14:38:46 DASD DB41 CP OWNED 610RES 79
Ready;
If you see “OWNED”, the device is used by the system for
paging or spooling activity.
v
For tape drives:
query 102
TAPE 0102 ATTACHED TO RALPH 0236 R/W
Ready;
This means that the magnetic tape drive at the address 0102 is
attached in read/write mode to RALPH’s virtual machine as
the virtual device number 0236.
v
For displays:
query 0bcd
GRAF
0BCD ATTACHED TO OLIVER 0010
Ready;
This message means the display device at the real device
number 0BCD is attached to OLIVER’s virtual machine as the
virtual device 0010.
v
For Open Systems Adapter devices:
query 480
OSA 0480 ATTACHED TO LINUX1
0480
Ready;
The first number is the real device number of the Open
Systems Adapter device. The last number is the virtual device
number which each virtual machine uses to refer to an OSA
device.
102
z/VM: Getting Started with Linux on System z
Summary of Contents for ZVM - FOR LINUX V6 RELEASE 1
Page 1: ...z VM Getting Started with Linux on System z version 6 release 1 SC24 6194 00...
Page 2: ......
Page 3: ...z VM Getting Started with Linux on System z version 6 release 1 SC24 6194 00...
Page 10: ...viii z VM Getting Started with Linux on System z...
Page 12: ...x z VM Getting Started with Linux on System z...
Page 14: ...xii z VM Getting Started with Linux on System z...
Page 64: ...50 z VM Getting Started with Linux on System z...
Page 76: ...62 z VM Getting Started with Linux on System z...
Page 80: ...66 z VM Getting Started with Linux on System z...
Page 156: ...142 z VM Getting Started with Linux on System z...
Page 160: ...146 z VM Getting Started with Linux on System z...
Page 162: ...148 z VM Getting Started with Linux on System z...
Page 166: ...152 z VM Getting Started with Linux on System z...
Page 170: ...156 z VM Getting Started with Linux on System z...
Page 171: ......
Page 172: ...Program Number 5741 A07 Printed in USA SC24 6194 00...