All pastes #969636 Raw Edit

Anonymous

public text v1 · immutable
·published 2008-04-03 17:52 UTC
rendered paste body
root@ubuntu1:/opt/src/enomalism2/func_tests# xm help
Usage: xm <subcommand> [args]

Control, list, and manipulate Xen guest instances.

xm full list of subcommands:

 console              Attach to <Domain>'s console.
 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.
 restore              Restore a domain from a saved state.
 resume               Resume a Xend managed domain
 save                 Save a domain state to restore later.
 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.
 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.

VirtualBox Command Line Management Interface Version 1.5.6
(C) 2005-2008 innotek GmbH
All rights reserved.

Usage:

VBoxManage [-v|-version]    print version number and exit
VBoxManage -nologo ...      suppress the logo

VBoxManage list             vms|runningvms|ostypes|hostdvds|hostfloppies|
                            hdds|dvds|floppies|usbhost|usbfilters|
                            systemproperties

VBoxManage showvminfo       <uuid>|<name>
                            [-details]

VBoxManage registervm       <filename>

VBoxManage unregistervm     <uuid>|<name>
                            [-delete]

VBoxManage createvm         -name <name>
                            [-register]
                            [-basefolder <path> | -settingsfile <path>]
                            

VBoxManage modifyvm         <uuid|name>
                            [-name <name>]
                            [-ostype <ostype>]
                            [-memory <memorysize>]
                            [-vram <vramsize>]
                            [-acpi on|off]
                            [-ioapic on|off]
                            [-hwvirtex on|off|default]
                            [-monitorcount <number>]
                            [-bioslogofadein on|off]
                            [-bioslogofadeout on|off]
                            [-bioslogodisplaytime <msec>]
                            [-bioslogoimagepath <imagepath>]
                            [-biosbootmenu disabled|menuonly|messageandmenu]
                            [-biossystemtimeoffset <msec>]
                            [-biospxedebug on|off]
                            [-boot<1-4> none|floppy|dvd|disk|net>]
                            [-hd<a|b|d> none|<uuid>|<filename>]
                            [-dvd none|<uuid>|<filename>|host:<drive>]
                            [-dvdpassthrough on|off]
                            [-floppy disabled|empty|<uuid>|
                                     <filename>|host:<drive>]
                            [-nic<1-N> none|null|nat|hostif|intnet]
                            [-nictype<1-N> Am79C970A|Am79C973|82540EM]
                            [-cableconnected<1-N> on|off]
                            [-nictrace<1-N> on|off]
                            [-nictracefile<1-N> <filename>]
                            [-hostifdev<1-N> none|<devicename>]
                            [-intnet<1-N> <network>]
                            [-macaddress<1-N> auto|<mac>]
                            [-uart<1-N> off|<I/O base> <IRQ>]
                            [-uartmode<1-N> disconnected|
                                            server <pipe>|
                                            client <pipe>|
                                            <devicename>]
                            [-tapsetup<1-N> none|<application>]
                            [-tapterminate<1-N> none|<application>]
                            [-audio none|null|oss|alsa|pulse]
                            [-clipboard disabled|hosttoguest|guesttohost|
                                        bidirectional]
                            [-vrdp on|off]
                            [-vrdpport default|<port>]
                            [-vrdpaddress <host>]
                            [-vrdpauthtype null|external|guest]
                            [-vrdpmulticon on|off]
                            [-usb on|off]
                            [-usbehci on|off]
                            [-snapshotfolder default|<path>]

VBoxManage startvm          <uuid>|<name>
                            [-type gui|vrdp]

VBoxManage controlvm        <uuid>|<name>
                            pause|resume|reset|poweroff|savestate|
                            acpipowerbutton|acpisleepbutton|
                            setlinkstate<1-4> on|off |
                            usbattach <uuid>|<address> |
                            usbdetach <uuid>|<address> |
                            dvdattach none|<uuid>|<filename>|host:<drive> |
                            floppyattach none|<uuid>|<filename>|host:<drive> |
                            setvideomodehint <xres> <yres> <bpp> [display]|
                            setcredentials <username> <password> <domain>
                                           [-allowlocallogon <yes|no>]

VBoxManage discardstate     <uuid>|<name>

VBoxManage snapshot         <uuid>|<name>
                            take <name> [-desc <desc>] |
                            discard <uuid>|<name> |
                            discardcurrent -state|-all |
                            edit <uuid>|<name>|-current
                                 [-newname <name>]
                                 [-newdesc <desc>] |
                            showvminfo <uuid>|<name>

VBoxManage registerimage    disk|dvd|floppy <filename>
                            [-type normal|immutable|writethrough] (disk only)

VBoxManage unregisterimage  disk|dvd|floppy <uuid>|<filename>

VBoxManage showvdiinfo      <uuid>|<filename>

VBoxManage createvdi        -filename <filename>
                            -size <megabytes>
                            [-static]
                            [-comment <comment>]
                            [-register]
                            [-type normal|writethrough] (default: normal)

VBoxManage modifyvdi        <uuid>|<filename>
                            compact

VBoxManage clonevdi         <uuid>|<filename> <outputfile>

VBoxManage convertdd        <filename> <outputfile>
VBoxManage convertdd        stdin <outputfile> <bytes>

VBoxManage addiscsidisk     -server <name>|<ip>
                            -target <target>
                            [-port <port>]
                            [-lun <lun>]
                            [-encodedlun <lun>]
                            [-username <username>]
                            [-password <password>]
                            [-comment <comment>]

VBoxManage getextradata     global|<uuid>|<name>
                            <key>|enumerate

VBoxManage setextradata     global|<uuid>|<name>
                            <key>
                            [<value>] (no value deletes key)

VBoxManage setproperty      vdifolder default|<folder> |
                            machinefolder default|<folder> |
                            vrdpauthlibrary default|<library> |
                            hwvirtexenabled yes|no
                            loghistorycount <value>

VBoxManage usbfilter        add <index,0-N>
                            -target <uuid>|<name>|global
                            -name <string>
                            -action ignore|hold (global filters only)
                            [-active yes|no] (yes)
                            [-vendorid <XXXX>] (null)
                            [-productid <XXXX>] (null)
                            [-revision <IIFF>] (null)
                            [-manufacturer <string>] (null)
                            [-product <string>] (null)
                            [-remote yes|no] (null, VM filters only)
                            [-serialnumber <string>] (null)
                            [-maskedinterfaces <XXXXXXXX>]

VBoxManage usbfilter        modify <index,0-N>
                            -target <uuid>|<name>|global
                            [-name <string>]
                            [-action ignore|hold] (global filters only)
                            [-active yes|no]
                            [-vendorid <XXXX>|""]
                            [-productid <XXXX>|""]
                            [-revision <IIFF>|""]
                            [-manufacturer <string>|""]
                            [-product <string>|""]
                            [-remote yes|no] (null, VM filters only)
                            [-serialnumber <string>|""]
                            [-maskedinterfaces <XXXXXXXX>]

VBoxManage usbfilter        remove <index,0-N>
                            -target <uuid>|<name>|global

VBoxManage sharedfolder     add <vmname>|<uuid>
                            -name <name> -hostpath <hostpath>
                            [-transient] [-readonly]

VBoxManage sharedfolder     remove <vmname>|<uuid>
                            -name <name> [-transient]

VBoxManage updatesettings   [<dir>|<file>] [-apply]
                            [-nobackup] [-skipinvalid]