xm list
Name                                        ID   Mem VCPUs      State   Time(s)
Domain-0                                     0 15005     8     r----- 146366.7
idp                                          1   512     4     -b----  20862.1
sles11                                       6   512     4     -b----   9030.2
 xm list -l idp
(domain
    (domid 1)
    (bootloader /usr/lib/xen/boot/domUloader.py)
    (on_crash destroy)
    (uuid 89933db7-7fb6-92d3-d5a1-3fcd43bfaab0)
    (bootloader_args '--entry=xvda2:/boot/vmlinuz-xen,/boot/initrd-xen')
    (vcpus 4)
    (name idp)
    (cpus (() () () ()))
    (on_reboot restart)
    (on_poweroff destroy)
    (maxmem 512)
    (memory 512)
    (shadow_memory 0)
    (features )
    (on_xend_start ignore)
    (on_xend_stop ignore)
    (start_time 1249376170.97)
    (cpu_time 20862.3999039)
    (online_vcpus 4)
    (image
        (linux
            (kernel )
            (device_model /usr/lib64/xen/bin/qemu-dm)
            (notes
                (FEATURES
                    'writable_page_tables|writable_descriptor_tables|auto_translated_physmap|pae_pgdir_above_4gb|supervisor_mode_kernel'
                )
                (VIRT_BASE 18446744071562067968)
                (GUEST_VERSION 2.6)
                (PADDR_OFFSET 0)
                (GUEST_OS linux)
                (HYPERCALL_PAGE 18446744071563141120)
                (LOADER generic)
                (SUSPEND_CANCEL 1)
                (ENTRY 18446744071563116544)
                (XEN_VERSION xen-3.0)
            )
        )
    )
    (status 2)
    (state -b----)
    (store_mfn 2931874)
    (console_mfn 3126395)
    (device
        (vif
            (bridge br0)
            (mac 00:16:3e:31:3d:b0)
            (script /etc/xen/scripts/vif-bridge)
            (uuid 9799d861-dfb1-994e-516b-52ca3b15e6f4)
            (backend 0)
        )
    )
    (device
        (vif
            (bridge br1)
            (mac 00:16:3e:27:87:30)
            (script /etc/xen/scripts/vif-bridge)
            (uuid f065db68-cf7e-40fe-e37e-7a01cdc17dbf)
            (backend 0)
        )
    )
    (device (vkbd (backend 0)))
    (device
        (console
            (protocol vt100)
            (location 2)
            (uuid d47e5a93-0d88-1c24-bfe7-e2e05cc5d5b1)
        )
    )
    (device
        (vbd
            (protocol x86_64-abi)
            (uuid 67fdab1f-e9db-cadc-5bf1-1736c4d68f45)
            (dev xvda:disk)
            (uname file:/archive/vm-images/idp/dsik-1)
            (mode w)
            (backend 0)
            (bootable 1)
            (VDI )
        )
    )
    (device
        (vfb
            (vncunused 1)
            (keymap en-us)
            (type vnc)
            (uuid 66bb7853-bf70-5052-ce6f-647ca88f49bb)
            (location 127.0.0.1:5900)
        )
    )
)

Usage: xm <subcommand> [args]

Control, list, and manipulate Xen guest instances.

Common 'xm' commands:

 console              Attach to <Domain>'s console.
 vncviewer            Attach to <Domain>'s VNC server.
 create               Create a domain based on <ConfigFile>.
 new                  Adds a domain to Xend domain management
 delete               Remove a domain from Xend domain management.
 destroy              Terminate a domain immediately.
 dump-core            Dump core for a specific domain.
 help                 Display this message.
 list                 List information about all/some domains.
 mem-set              Set the current memory usage for a domain.
 migrate              Migrate a domain to another machine.
 pause                Pause execution of a domain.
 reboot               Reboot a domain.
 reset                Reset a domain.
 restore              Restore a domain from a saved state.
 resume               Resume a Xend managed domain
 save                 Save a domain state to restore later.
 snapshot-create      Snapshot a running domain.
 snapshot-list        List available snapshots for a domain.
 snapshot-apply       Apply previous snapshot to domain.
 snapshot-delete      Delete snapshot of domain.
 shell                Launch an interactive shell.
 shutdown             Shutdown a domain.
 start                Start a Xend managed domain
 suspend              Suspend a Xend managed domain
 top                  Monitor a host and the domains in real time.
 unpause              Unpause a paused domain.
 uptime               Print uptime for all/some domains.
 vcpu-set             Set the number of active VCPUs for allowed for
                      the domain.

<Domain> can either be the Domain Name or Id.
For more help on 'xm' see the xm(1) man page.
For more help on 'xm create' see the xmdomain.cfg(5)  man page.

For a complete list of subcommands run 'xm help'.

Usage: xm <subcommand> [args]

Control, list, and manipulate Xen guest instances.

xm full list of subcommands:

 console              Attach to <Domain>'s console.
 vncviewer            Attach to <Domain>'s VNC server.
 create               Create a domain based on <ConfigFile>.
 new                  Adds a domain to Xend domain management
 delete               Remove a domain from Xend domain management.
 destroy              Terminate a domain immediately.
 domid                Convert a domain name to domain id.
 domname              Convert a domain id to domain name.
 dump-core            Dump core for a specific domain.
 list                 List information about all/some domains.
 mem-max              Set the maximum amount reservation for a domain.
 mem-set              Set the current memory usage for a domain.
 migrate              Migrate a domain to another machine.
 pause                Pause execution of a domain.
 reboot               Reboot a domain.
 rename               Rename a domain.
 reset                Reset a domain.
 restore              Restore a domain from a saved state.
 resume               Resume a Xend managed domain
 save                 Save a domain state to restore later.
 snapshot-create      Snapshot a running domain.
 snapshot-list        List available snapshots for a domain.
 snapshot-apply       Apply previous snapshot to domain.
 snapshot-delete      Delete snapshot of domain.
 shutdown             Shutdown a domain.
 start                Start a Xend managed domain
 suspend              Suspend a Xend managed domain
 sysrq                Send a sysrq to a domain.
 trigger              Send a trigger to a domain.
 top                  Monitor a host and the domains in real time.
 unpause              Unpause a paused domain.
 uptime               Print uptime for all/some domains.
 vcpu-list            List the VCPUs for all/some domains.
 vcpu-pin             Set which CPUs a VCPU can use.
 vcpu-set             Set the number of active VCPUs for allowed for
                      the domain.
 debug-keys           Send debug keys to Xen.
 dmesg                Read and/or clear Xend's message buffer.
 info                 Get information about Xen host.
 log                  Print Xend log
 serve                Proxy Xend XMLRPC over stdio.
 sched-credit         Get/set credit scheduler parameters.
 sched-sedf           Get/set EDF parameters.
 block-attach         Create a new virtual block device.
 block-detach         Destroy a domain's virtual block device.
 block-list           List virtual block devices for a domain.
 block-configure      Change block device configuration
 network-attach       Create a new virtual network device.
 network-detach       Destroy a domain's virtual network device.
 network-list         List virtual network interfaces for a domain.
 vtpm-list            List virtual TPM devices.
 pci-attach           Insert a new pass-through pci device.
 pci-detach           Remove a domain's pass-through pci device.
 pci-list             List pass-through pci devices for a domain.
 pci-list-assignable-devices List all the assignable pci devices
 scsi-attach          Attach a new SCSI device.
 scsi-detach          Detach a specified SCSI device.
 scsi-list            List all SCSI devices currently attached.
 vnet-list            List Vnets.
 vnet-create          Create a vnet from ConfigFile.
 vnet-delete          Delete a Vnet.
 labels               List <type> labels for (active) policy.
 addlabel             Add security label to domain.
 rmlabel              Remove a security label from domain.
 getlabel             Show security label for domain or resource.
 dry-run              Test if a domain can access its resources.
 resources            Show info for each labeled resource.
 dumppolicy           Print hypervisor ACM state information.
 setpolicy            Set the policy of the system.
 resetpolicy          Set the policy of the system to the default
                      policy.
 getpolicy            Get the policy of the system.
 shell                Launch an interactive shell.

<Domain> can either be the Domain Name or Id.
For more help on 'xm' see the xm(1) man page.
For more help on 'xm create' see the xmdomain.cfg(5)  man page.

More Information#

There might be more information for this subject on one of the following:

Add new attachment

Only authorized users are allowed to upload new attachments.
« This page (revision-3) was last changed on 06-Apr-2015 18:22 by jim