This is Gentoo's testing wiki. It is a non-operational environment and its textual content is outdated.
Please visit our production wiki at https://wiki.gentoo.org
S390/z/VM tips and tricks
From Gentoo Wiki (test)
< S390
Jump to:navigation
Jump to:search
These are some tips and tricks that are useful for z/VM.
CMS
COMMAND | DESCRIPTION | EXAMPLE |
---|---|---|
LISTFILES | List files | |
FILELIST | another list files, interactive | |
QUERY ARGS | Query general VM state | |
Q ARGS | Shortcut to the QUERY command |
|
Q CPUS | List allocated cpus | |
Q STORAGE | List allocated memory | |
Q DASD | List allocated disks | |
Q DISK | List attached disks | |
Q ACCESSED | List disks available under CP/CMS | |
Q OSA | List allocated network devices | |
Q READER ALL | Show all queued files in the reader spool queue | |
ERASE | Erases files | ERASE FILENAME DISK |
COPY | Copies files | FIXME! |
RENAME | Renames files | FIXME! |
CP
COMMAND | DESCRIPTION | EXAMPLE |
---|---|---|
DISCONNECT | Disconnect from the current VM, but leave the VM running | |
LOGOFF | Shut the current VM off | |
IPL | Restart the VM and launch the Initial Program Loader (i.e. the bootloader) | |
I | Shortcut for the IPL command | |
IPL NUMBER | Restart the VM and IPL a specific image | IPL 150 |
IPL CMS | Restart the VM and launch CMS | |
VI VMSG NUMBER ARGS | After 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 ON | Maintain 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.