XL Commands

fancy pansy stuff ..VMs are called 'domains' ... well dom0 ...domU
------------------------------------------------------------------------------------------------

Create VM w/o attaching to console
xl create -f <cfg filename>

Create VM & attach to console
xl create -f <cfg filename> -c 

List of running VMs:
xl list
this will give <id> of the *domains* as well....used for subsequent commands

List VMs w/o dom0:
xl list-vm

Info about host 
xl info 

Top for domain & host together:
xl top

Reboot VM:
xl reboot <id>

Shutdown VM:
xl shutdown <id>

Destroy a VM ...iski maa ki....
xl destroy <id>

Attach to console to running domain
xl console <id>

Attach to domains vnc server
xl vncviewer <id>

Save a domain state to restore later
xl save <id>

Restore a saved state
xl restore <id>


Comments