
6.2 Xm (command line interface)
The xm tool is the primary tool for managing Xen from the console. The general
format of an xm command line is:
# xm command [switches] [arguments] [variables]
The available switches and arguments are dependent on the command chosen. The
variables may be set using declarations of the form variable=value and com-
mand line declarations override any of the values in the configuration file being used,
including the standard variables described above and any custom variables (for in-
stance, the xmdefconfig file uses a vmid variable).
The available commands are as follows:
set-mem Request a domain to adjust its memory footprint.
create Create a new domain.
destroy Kill a domain immediately.
list List running domains.
shutdown Ask a domain to shutdown.
dmesg Fetch the Xen (not Linux!) boot output.
consoles Lists the available consoles.
console Connect to the console for a domain.
help Get help on xm commands.
save Suspend a domain to disk.
restore Restore a domain from disk.
pause Pause a domain’s execution.
unpause Unpause a domain.
pincpu Pin a domain to a CPU.
bvt Set BVT scheduler parameters for a domain.
bvt ctxallow Set the BVT context switching allowance for the system.
atropos Set the atropos parameters for a domain.
rrobin Set the round robin time slice for the system.
info Get information about the Xen host.
call Call a xend HTTP API function directly.
For a detailed overview of switches, arguments and variables to each command try
# xm help command
28
Commentaires sur ces manuels