IBM ZVM - FOR LINUX V6 RELEASE 1 Getting Started page 116

Getting started with linux on system z
Table of Contents

Advertisement

If you want to ...
Display the status of real
devices
102
z/VM: Getting Started with Linux on System z
Then use this command ...
CP QUERY rdev1 rdev2 ...
Examples:
v For DASD:
query 280 7806
DASD 0280 CP SYSTEM XAUSR1
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.
49

Advertisement

Table of Contents
loading

Table of Contents