Xen - xm

xm

 

help [--long]

list [-l]

# shutdown 了的是見不到的 !!

    Name                                        ID   Mem VCPUs      State   Time(s)
    Domain-0                                     0  1017     4     r-----    111.0

(domain
    (domid 0)
    ..........
)

top
uptime

console            

xm console debian6     # 離開 console CTRL + ]

vncviewer

create             # Create a domain based on <ConfigFile>.

    server:/etc/xen# xm create /etc/xen/debian6.cfg
    Using config file "/etc/xen/debian6.cfg".
    Started domain debian6 (id=1)

    
new  configfile    # Adds a domain to Xend domain management

    -n, --dryrun

delete             # Remove a domain from Xend domain management.

start              # Start a Xend managed domain
shutdown           # Shutdown a domain.
destroy            # equivalent of ripping the power cord
reboot
reset
pause / unpause

usb-add
usb-del

mem-set            # Set the current memory usage for a domain.
vcpu-set

domid domain-name
domname domain-id
 
 

STATES
 
 r - running
 b - blocked  # not running or runnable
p - paused
s - shutdown
 c - crashed  (not to restart on crash)
d - dying

Creative Commons license icon Creative Commons license icon