< S390 < z

S390/z/VM tips and tricks

These are some tips and tricks that are useful for z/VM.

CMS

COMMANDDESCRIPTIONEXAMPLE
LISTFILESList files
FILELISTanother list files, interactive
QUERY ARGSQuery general VM state
Q ARGSShortcut to the QUERY command
Q CPUSList allocated cpus
Q STORAGEList allocated memory
Q DASDList allocated disks
Q DISKList attached disks
Q ACCESSEDList disks available under CP/CMS
Q OSAList allocated network devices
Q READER ALLShow all queued files in the reader spool queue
ERASEErases filesERASE FILENAME DISK
COPYCopies filesFIXME!
RENAMERenames filesFIXME!

CP

COMMANDDESCRIPTIONEXAMPLE
DISCONNECTDisconnect from the current VM, but leave the VM running
LOGOFFShut the current VM off
IPLRestart the VM and launch the Initial Program Loader (i.e. the bootloader)
IShortcut for the IPL command
IPL NUMBERRestart the VM and IPL a specific imageIPL 150
IPL CMSRestart the VM and launch CMS
VI VMSG NUMBER ARGSAfter launching the IPL, select NUMBER and append ARGS to the program's command line
(e.g. the Linux kernel's command line)
VI VMSG 0 init=/bin/bb
CP SET RUN ONMaintain VM running when disconnecting from z/VM

Linux

To run CP commands from Linux while in the x3270 session, type: #CP COMMAND, e.g. #CP SYSTEM CLEAR. This would stop the VM.

References

This article is issued from Gentoo. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.