qemu picture

vminfo(1) man page

NAME

vminforeport information on a virtual machine

SYNOPSIS

vminfo [-abhilqstvy] [vmhome_path …]

DESCRIPTION

Report various information on a virtual machine.
The various type of information available is described in Category selection options below. If no category option is provided, -itsb is assumed.
vmhome_path must be a valid virtual machine home directory. If no value is provided, the current working directory is assumed.

OPTIONS

Category selection options

The category selection options are as follows:
-b
Display storage backend information.
List all enabled storage devices.
If the device is associated to a backend file, outputs its path, and if this path points to a local file display information about the file type as detected by the file(1) utility.
The long output differs only for local files: more technical information is displayed regarding the file content, including the display of the complete backing chain for QCow2 files.
-i
Display general information.
By default the virtual machine name, its status (running or not) and if it is running the PID associated to it are displayed.
The long output also adds the number of parent (either 0 or 1) and childs, the type of display used (and the associated URL if applicable), the path to the Qemu monitor socket file, the user owner of the Qemu process and resource consumption information (memory, CPU and disk space).
See also the vmps(1) command to get information on currently running virtual machines.
-s
Display virtual machine settings.
Outputs all virtual machine settings applied. The short output only displays settings directly set in the virtual machine settings file or inherited from ancestors, it does not include default settings.
The long output completes the short output with the default value of all available virtual machine settings and vmtools(7) settings.
For more information on a particular setting entry, see vmtools.conf(5).
-t
Display virtual machines forks tree.
Display the complete virtual machines forks tree to which the current virtual machine belongs. The name of each virtual machine is displayed, as well as its current status:
*
Current virtual machine.
R
Running virtual machines.
The long output adds the path to the home directory of each virtual machine.
By default the tree uses UTF-8 characters for its formatting, see -a if this behavior is undesirable.

Other options

The other options are as follows:
-a
Use ASCII characters for formatting purpose instead of UTF-8.
Currently this option has an effect only if the virtual machines forks tree output (-t) is enabled, other information categories do not use any UTF-8 formatting character.
-h
Show usage information summary then exit.
-l
Enables long output.
The exact effect depends on the enabled information categories. See Category selection options for a description of the effect of enabling the long output on each information category.
This option must not be mistaken with -v which enables messages mainly used for debugging purposes.
-q
Decrease verbosity. Add several -q options to decrease verbosity even more (-qq by default to get minimal output). See vmtools.conf(5) for more information about verbosity levels.
See -v to increase the verbosity level.
-v
Increase verbosity. Add several -v options to increase verbosity even more (-vvv by default to get the most verbose output, including debugging messages). See vmtools.conf(5) for more information about verbosity levels.
See -q to decrease the verbosity level.
This option must not be mistaken with the -l option.
-y
Don’t ask any question: accept all confirmation requests and automatically select the default answer in any other situation.
Use this option with great care: no confirmation will be asked before deleting or overwriting any files!

ENVIRONMENT

TMPDIR
Default location to store temporary files, by default /tmp.
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).
Moreover, the content of /usr/local/share/vmtools can be overridden in the following locations (in the order of precedence):
~/.config/vmtools
User overrides (if cfg_include_userhome is set to “yes”).
/etc/vmtools
System-wide overrides.

EXIT STATUS

The vminfo utility exits 0 on success, and >0 if an error occurs.

EXAMPLES

Example 1:
Get an overview of the current virtual machine:
cd ~/myVM 
vminfo
Example 2:
Check the structure of a virtual machine tree:
vminfo -tl ~/myVM

REPORTING BUGS

Please send bug reports to the vmtools issues page.

Popular tags see all

Website

Author

Follow