<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://wiki.christophchamp.com/index.php?action=history&amp;feed=atom&amp;title=Xl_%28XenServer%29</id>
		<title>Xl (XenServer) - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://wiki.christophchamp.com/index.php?action=history&amp;feed=atom&amp;title=Xl_%28XenServer%29"/>
		<link rel="alternate" type="text/html" href="http://wiki.christophchamp.com/index.php?title=Xl_(XenServer)&amp;action=history"/>
		<updated>2026-05-02T14:04:06Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.26.2</generator>

	<entry>
		<id>http://wiki.christophchamp.com/index.php?title=Xl_(XenServer)&amp;diff=5965&amp;oldid=prev</id>
		<title>Christoph: New page: '''&lt;tt&gt;xl&lt;/tt&gt;''' is a CLI tool that is based on the xenlight library (libxl), a library designed to provide a common &quot;bottom third&quot; for any Xen tool...</title>
		<link rel="alternate" type="text/html" href="http://wiki.christophchamp.com/index.php?title=Xl_(XenServer)&amp;diff=5965&amp;oldid=prev"/>
				<updated>2013-12-25T05:51:23Z</updated>
		
		<summary type="html">&lt;p&gt;New page: &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;xl&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; is a &lt;a href=&quot;/index.php?title=Category:Linux_Command_Line_Tools&quot; title=&quot;Category:Linux Command Line Tools&quot;&gt;CLI&lt;/a&gt; tool that is based on the xenlight library (libxl), a library designed to provide a common &amp;quot;bottom third&amp;quot; for any Xen tool...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;'''&amp;lt;tt&amp;gt;xl&amp;lt;/tt&amp;gt;''' is a [[:Category:Linux Command Line Tools|CLI]] tool that is based on the xenlight library (libxl), a library designed to provide a common &amp;quot;bottom third&amp;quot; for any Xen toolstack. The &amp;lt;code&amp;gt;xl&amp;lt;/code&amp;gt; toolstack is intended to remain backwards compatible with existing &amp;lt;code&amp;gt;`[[xm (XenClassic)|xm]]`&amp;lt;/code&amp;gt; (for ''[[:Category:XenClassic|XenClassic]]'') domain configuration files.&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
 xl [-v] &amp;lt;subcommand&amp;gt; [args]&lt;br /&gt;
&lt;br /&gt;
==List of commands==&lt;br /&gt;
Below is a full list of &amp;lt;code&amp;gt;`xl`&amp;lt;/code&amp;gt; subcommands:&lt;br /&gt;
&lt;br /&gt;
; &amp;lt;code&amp;gt;create&amp;lt;/code&amp;gt; : Create a domain from config file &amp;lt;filename&amp;gt;&lt;br /&gt;
; &amp;lt;code&amp;gt;list&amp;lt;/code&amp;gt; : List information about all/some domains&lt;br /&gt;
; &amp;lt;code&amp;gt;destroy&amp;lt;/code&amp;gt; : Terminate a domain immediately&lt;br /&gt;
; &amp;lt;code&amp;gt;shutdown&amp;lt;/code&amp;gt; : Issue a shutdown signal to a domain&lt;br /&gt;
; &amp;lt;code&amp;gt;reboot&amp;lt;/code&amp;gt; : Issue a reboot signal to a domain&lt;br /&gt;
; &amp;lt;code&amp;gt;pci-attach&amp;lt;/code&amp;gt; : Insert a new pass-through pci device&lt;br /&gt;
; &amp;lt;code&amp;gt;pci-detach&amp;lt;/code&amp;gt; : Remove a domain's pass-through pci device&lt;br /&gt;
; &amp;lt;code&amp;gt;pci-list&amp;lt;/code&amp;gt; : List pass-through pci devices for a domain&lt;br /&gt;
; &amp;lt;code&amp;gt;pci-list-assignable-devices&amp;lt;/code&amp;gt; : List all the assignable pci devices&lt;br /&gt;
; &amp;lt;code&amp;gt;pause&amp;lt;/code&amp;gt; : Pause execution of a domain&lt;br /&gt;
; &amp;lt;code&amp;gt;unpause&amp;lt;/code&amp;gt; : Unpause a paused domain&lt;br /&gt;
; &amp;lt;code&amp;gt;console&amp;lt;/code&amp;gt; : Attach to domain's console&lt;br /&gt;
; &amp;lt;code&amp;gt;vncviewer&amp;lt;/code&amp;gt; : Attach to domain's VNC server.&lt;br /&gt;
; &amp;lt;code&amp;gt;save&amp;lt;/code&amp;gt; : Save a domain state to restore later&lt;br /&gt;
; &amp;lt;code&amp;gt;migrate&amp;lt;/code&amp;gt; : Save a domain state to restore later&lt;br /&gt;
; &amp;lt;code&amp;gt;dump-core&amp;lt;/code&amp;gt; : Core dump a domain&lt;br /&gt;
; &amp;lt;code&amp;gt;restore&amp;lt;/code&amp;gt; : Restore a domain from a saved state&lt;br /&gt;
; &amp;lt;code&amp;gt;migrate-receive&amp;lt;/code&amp;gt; : Restore a domain from a saved state&lt;br /&gt;
; &amp;lt;code&amp;gt;cd-insert&amp;lt;/code&amp;gt; : Insert a cdrom into a guest's cd drive&lt;br /&gt;
; &amp;lt;code&amp;gt;cd-eject&amp;lt;/code&amp;gt; : Eject a cdrom from a guest's cd drive&lt;br /&gt;
; &amp;lt;code&amp;gt;mem-max&amp;lt;/code&amp;gt; : Set the maximum amount reservation for a domain&lt;br /&gt;
; &amp;lt;code&amp;gt;mem-set&amp;lt;/code&amp;gt; : Set the current memory usage for a domain&lt;br /&gt;
; &amp;lt;code&amp;gt;button-press&amp;lt;/code&amp;gt; : Indicate an ACPI button press to the domain&lt;br /&gt;
; &amp;lt;code&amp;gt;vcpu-list&amp;lt;/code&amp;gt; : List the VCPUs for all/some domains&lt;br /&gt;
; &amp;lt;code&amp;gt;vcpu-pin&amp;lt;/code&amp;gt; : Set which CPUs a VCPU can use&lt;br /&gt;
; &amp;lt;code&amp;gt;vcpu-set&amp;lt;/code&amp;gt; : Set the number of active VCPUs allowed for the domain&lt;br /&gt;
; &amp;lt;code&amp;gt;list-vm&amp;lt;/code&amp;gt; : List the VMs,without DOM0&lt;br /&gt;
; &amp;lt;code&amp;gt;info&amp;lt;/code&amp;gt; : Get information about Xen host&lt;br /&gt;
; &amp;lt;code&amp;gt;sched-credit&amp;lt;/code&amp;gt; : Get/set credit scheduler parameters&lt;br /&gt;
; &amp;lt;code&amp;gt;domid&amp;lt;/code&amp;gt; : Convert a domain name to domain id&lt;br /&gt;
; &amp;lt;code&amp;gt;domname&amp;lt;/code&amp;gt; : Convert a domain id to domain name&lt;br /&gt;
; &amp;lt;code&amp;gt;rename&amp;lt;/code&amp;gt; : Rename a domain&lt;br /&gt;
; &amp;lt;code&amp;gt;trigger&amp;lt;/code&amp;gt; : Send a trigger to a domain&lt;br /&gt;
; &amp;lt;code&amp;gt;sysrq&amp;lt;/code&amp;gt; : Send a sysrq to a domain&lt;br /&gt;
; &amp;lt;code&amp;gt;debug-keys&amp;lt;/code&amp;gt; : Send debug keys to Xen&lt;br /&gt;
; &amp;lt;code&amp;gt;dmesg&amp;lt;/code&amp;gt; : Read and/or clear dmesg buffer&lt;br /&gt;
; &amp;lt;code&amp;gt;top&amp;lt;/code&amp;gt; : Monitor a host and the domains in real time&lt;br /&gt;
; &amp;lt;code&amp;gt;network-attach&amp;lt;/code&amp;gt; : Create a new virtual network device&lt;br /&gt;
; &amp;lt;code&amp;gt;network-list&amp;lt;/code&amp;gt; : List virtual network interfaces for a domain&lt;br /&gt;
; &amp;lt;code&amp;gt;network-detach&amp;lt;/code&amp;gt; : Destroy a domain's virtual network device&lt;br /&gt;
; &amp;lt;code&amp;gt;block-attach&amp;lt;/code&amp;gt; : Create a new virtual block device&lt;br /&gt;
; &amp;lt;code&amp;gt;block-list&amp;lt;/code&amp;gt; : List virtual block devices for a domain&lt;br /&gt;
; &amp;lt;code&amp;gt;block-detach&amp;lt;/code&amp;gt; : Destroy a domain's virtual block device&lt;br /&gt;
; &amp;lt;code&amp;gt;uptime&amp;lt;/code&amp;gt; : Print uptime for all/some domains&lt;br /&gt;
; &amp;lt;code&amp;gt;tmem-list&amp;lt;/code&amp;gt; : List tmem pools&lt;br /&gt;
; &amp;lt;code&amp;gt;tmem-freeze&amp;lt;/code&amp;gt; : Freeze tmem pools&lt;br /&gt;
; &amp;lt;code&amp;gt;tmem-destroy&amp;lt;/code&amp;gt; : Destroy tmem pools&lt;br /&gt;
; &amp;lt;code&amp;gt;tmem-thaw&amp;lt;/code&amp;gt; : Thaw tmem pools&lt;br /&gt;
; &amp;lt;code&amp;gt;tmem-set&amp;lt;/code&amp;gt; : Change tmem settings&lt;br /&gt;
; &amp;lt;code&amp;gt;tmem-shared-auth&amp;lt;/code&amp;gt; : De/authenticate shared tmem pool&lt;br /&gt;
; &amp;lt;code&amp;gt;tmem-freeable&amp;lt;/code&amp;gt; : Get information about how much freeable memory (MB) is in-use by tmem&lt;br /&gt;
; &amp;lt;code&amp;gt;network2-attach&amp;lt;/code&amp;gt; : Create a new version 2 virtual network device&lt;br /&gt;
; &amp;lt;code&amp;gt;network2-list&amp;lt;/code&amp;gt; : list version 2 virtual network interfaces for a domain&lt;br /&gt;
; &amp;lt;code&amp;gt;network2-detach&amp;lt;/code&amp;gt; : destroy a domain's version 2 virtual network device&lt;br /&gt;
; &amp;lt;code&amp;gt;cpupool-create&amp;lt;/code&amp;gt; : Create a CPU pool based an ConfigFile&lt;br /&gt;
; &amp;lt;code&amp;gt;cpupool-list&amp;lt;/code&amp;gt; : List CPU pools on host&lt;br /&gt;
; &amp;lt;code&amp;gt;cpupool-destroy&amp;lt;/code&amp;gt; : Deactivates a CPU pool&lt;br /&gt;
; &amp;lt;code&amp;gt;cpupool-rename&amp;lt;/code&amp;gt; : Renames a CPU pool&lt;br /&gt;
; &amp;lt;code&amp;gt;cpupool-cpu-add&amp;lt;/code&amp;gt; : Adds a CPU to a CPU pool&lt;br /&gt;
; &amp;lt;code&amp;gt;cpupool-cpu-remove&amp;lt;/code&amp;gt; : Removes a CPU from a CPU pool&lt;br /&gt;
; &amp;lt;code&amp;gt;cpupool-migrate&amp;lt;/code&amp;gt; : Moves a domain into a CPU pool&lt;br /&gt;
; &amp;lt;code&amp;gt;cpupool-numa-split&amp;lt;/code&amp;gt; : Splits up the machine into one CPU pool per NUMA node&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
*Get a list of all domains on your host:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ xl list&lt;br /&gt;
Name                                        ID   Mem VCPUs      State   Time(s)&lt;br /&gt;
Domain-0                                     0   752     2     r-----   11335.8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Below is the output from my ''XenServer'' sandbox machine:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ xl info&lt;br /&gt;
host                   : legacy.thirdcraft.com&lt;br /&gt;
release                : 2.6.32.43-0.4.1.xs1.8.0.835.170778xen&lt;br /&gt;
version                : #1 SMP Wed May 29 18:06:30 EDT 2013&lt;br /&gt;
machine                : i686&lt;br /&gt;
nr_cpus                : 2&lt;br /&gt;
max_cpu_id             : 1&lt;br /&gt;
nr_nodes               : 1&lt;br /&gt;
cores_per_socket       : 2&lt;br /&gt;
threads_per_core       : 1&lt;br /&gt;
cpu_mhz                : 2926&lt;br /&gt;
hw_caps                : bfebfbff:20100800:00000000:00000940:0008e3bd:00000000:00000001:00000000&lt;br /&gt;
virt_caps              : hvm&lt;br /&gt;
total_memory           : 3931&lt;br /&gt;
free_memory            : 3065&lt;br /&gt;
free_cpus              : 0&lt;br /&gt;
xen_major              : 4&lt;br /&gt;
xen_minor              : 1&lt;br /&gt;
xen_extra              : .5&lt;br /&gt;
xen_caps               : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64&lt;br /&gt;
xen_scheduler          : credit&lt;br /&gt;
xen_pagesize           : 4096&lt;br /&gt;
platform_params        : virt_start=0xff800000&lt;br /&gt;
xen_changeset          : 23509:aa273b47bcbe, pq 572:5c414f7cb3b1&lt;br /&gt;
xen_commandline        : mem=1024G dom0_max_vcpus=2 dom0_mem=752M,max:752M watchdog_timeout=300 \&lt;br /&gt;
                         lowmem_emergency_pool=1M crashkernel=64M@32M cpuid_mask_xsave_eax=0 \&lt;br /&gt;
                         console=vga vga=mode-0x0311&lt;br /&gt;
cc_compiler            : gcc version 4.1.2 20080704 (Red Hat 4.1.2-46)&lt;br /&gt;
cc_compile_by          : root&lt;br /&gt;
cc_compile_domain      : uk.xensource.com&lt;br /&gt;
cc_compile_date        : Fri Jun 14 09:04:06 EDT 2013&lt;br /&gt;
xend_config_format     : 4&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
* [http://wiki.xen.org/wiki/XL `xl` information] &amp;amp;mdash; on the Xen.org wiki&lt;br /&gt;
* [http://wiki.xen.org/wiki/Choice_of_Toolstacks Choice of Toolstacks] &amp;amp;mdash; on the Xen.org wiki&lt;br /&gt;
&lt;br /&gt;
[[Category:XenServer]]&lt;/div&gt;</summary>
		<author><name>Christoph</name></author>	</entry>

	</feed>