In this article:
NAME
vmmon — access the Qemu monitor shellSYNOPSIS
vmcp | [-hn] [path] |
DESCRIPTION
Access the Qemu monitor shell of a virtual machine.- A virtual machine home directory.
- A regular file inside a virtual machine home directory.
- A Qemu monitor socket file.
OPTIONS
The options are as follows:ENVIRONMENT
- XDG_CONFIG_HOME
- Location of user’s configuration files, by default ~/.config.
FILES
- /usr/local/lib/vmtools
- Libraries shared by the vmtools project utilities.
- /usr/local/share/vmtools/vmtools.conf
- Virtual machine default settings, see vmtools.conf(5).
- ~/.config/vmtools
- User overrides (if cfg_include_userhome is set to “yes”).
- /etc/vmtools
- System-wide overrides.
EXIT STATUS
The vmmon utility exits 0 on success, and >0 if an error occurs.EXAMPLES
- Example 1:
-
Access the Qemu monitor shell of the current virtual machine:
cd ~/path/to/my_vm vmmon
- Example 2:
-
Access the Qemu monitor shell of another virtual machine:
vmmon ~/path/to/my_other_vm
- Example 3:
-
Send a single command (here sendkey Ctrl-Alt-Del) to a Qemu hypervisor:
echo 'sendkey Ctrl-Alt-Del' | vmmon ~/path/to/my_vm