Related information
For more information about privilege classes, see “Privilege Classes” in
z/VM: CP
Commands and Utilities Reference
.
Examples of using the CP commands:
QUERY displays information about your
virtual machine.
1.
To display virtual CPUs, class G users can issue the QUERY VIRTUAL CPUS
command:
query virtual cpus
CPU 00
ID
FF05152120640000 (BASE)
Ready;
The response tells you the virtual machine has one base virtual CPU whose
address is 00.
2.
To display available storage (memory), class G users can issue the QUERY
STORAGE command:
query virtual storage
STORAGE = 512M
Ready;
The response tells you the virtual machine has 512 megabytes of storage.
3.
To display information about minidisks, class G users can issue the QUERY
VIRTUAL DASD command:
query virtual dasd
DASD 0120 3390 PK5001 R/O
250 CYL ON DASD
810B SUBCHANNEL = 000D
DASD 0190 3390 SYGEMC R/O
130 CYL ON DASD
7355 SUBCHANNEL = 0005
DASD 0191 3390 USGE24 R/W
10 CYL ON DASD
7378 SUBCHANNEL = 0000
DASD 019A 3390 PK5001 R/O
400 CYL ON DASD
810B SUBCHANNEL = 0009
DASD 019D 3390 US7E0K R/O
250 CYL ON DASD
801C SUBCHANNEL = 0006
The response tells you the virtual machine has 5 minidisks, one of which is
read/write (R/W); the others are read only (R/O).
4.
To display information about network devices such as the Open Systems
Adapter, class G users can issue the QUERY VIRTUAL OSA command:
query virtual osa
OSA
F5F0 ON OSA
F599 SUBCHANNEL = 0000
F5F0 DEVTYPE OSA
CHPID 76 OSD
F5F0 QDIO-ELIGIBLE
QIOASSIST-ELIGIBLE
OSA
F5F1 ON OSA
F59A SUBCHANNEL = 0001
F5F1 DEVTYPE OSA
CHPID 76 OSD
F5F1 QDIO-ELIGIBLE
QIOASSIST-ELIGIBLE
OSA
F5F2 ON OSA
F59B SUBCHANNEL = 0002
F5F2 DEVTYPE OSA
CHPID 76 OSD
F5F2 QDIO-ELIGIBLE
QIOASSIST-ELIGIBLE
5.
To display the size of real storage, class B and E users can issue the QUERY
STORAGE command:
query storage
STORAGE = 512M
Note:
QUERY VIRTUAL
option
displays information about the virtual machine.
The keyword “VIRTUAL” is optional for the class G user. For privileged
6
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...