1.xl info

# xl info
#Dom0的主机名
#Dom0的内核版本
#1 SMP Mon Mar 26 09:34:05 CST 2012  #Dom0内核编译的时间
#Dom0内核运行的平台
#系统中的逻辑CPU数量
#host中可能的最大的CPU编号
#NUMA节点的数量
#每个CPU socket上的core数量
#每个core的线程数量(大于1即是超线程)
#CPU的主频
00000000
#CPU的capabilities,实际上同于/proc/cpuinfo中的flags,是其的另外矢量编码之类
#硬件系统关于虚拟化的feature,目前只定义了hvm和hvm_directio(即:VT-d)
#硬件系统的中的内存
#空闲的内存(未被guest和hypervisor使用的)
# FIX ME
# FIX ME
# FIX ME
#Xen的主版本号
#Xen的次版本号
#Xen的附加版本号
x86_64
#Xen的capabilities,支持32位和64位的PV和HVM虚拟机
#当前Xen的CPU调度算法
#Xen一次块设备上读取数据的大小,单位是bytes
#从这个地址之后就是hypervisor占用的
#Xen的changeset
4M
#grub中xen启动时的命令行
#本次Xen hypervisor的编译器
#编译Xen的用户名
#编译Xen的机器的所在的域
#编译Xen的时间
#配置文件的格式,目前是4,对xl已经不太重要了,XL不用Xend了
 
2.xl help
Usage xl [-v] <subcommand> [args]

xl full list of subcommands:

 create              Create a domain from config file <filename>
 list                List information about all/some domains
 destroy             Terminate a domain immediately
 shutdown            Issue a shutdown signal to a domain
 reboot              Issue a reboot signal to a domain
 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-devicesList all the assignable pci devices
 pause               Pause execution of a domain
 unpause             Unpause a paused domain
 console             Attach to domain's console
 vncviewer           Attach to domain's VNC server.
 save                Save a domain state to restore later
 migrate             Save a domain state to restore later
 dump-core           Core dump a domain
 restore             Restore a domain from a saved state
 migrate-receive     Restore a domain from a saved state
 cd-insert           Insert a cdrom into a guest's cd drive
 cd-eject            Eject a cdrom from a guest's cd drive
 mem-max             Set the maximum amount reservation for a domain
 mem-set             Set the current memory usage for a domain
 button-press        Indicate an ACPI button press to the domain
 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 allowed for the domain
 list-vm             List the VMs,without DOM0
 info                Get information about Xen host
 sched-credit        Get/set credit scheduler parameters
 domid               Convert a domain name to domain id
 domname             Convert a domain id to domain name
 rename              Rename a domain
 trigger             Send a trigger to a domain
 sysrq               Send a sysrq to a domain
 debug-keys          Send debug keys to Xen
 dmesg               Read and/or clear dmesg buffer
 top                 Monitor a host and the domains in real time
 network-attach      Create a new virtual network device
 network-list        List virtual network interfaces for a domain
 network-detach      Destroy a domain's virtual network device
 block-attach        Create a new virtual block device
 block-list          List virtual block devices for a domain
 block-detach        Destroy a domain's virtual block device
 uptime              Print uptime for all/some domains
 tmem-list           List tmem pools
 tmem-freeze         Freeze tmem pools
 tmem-destroy        Destroy tmem pools
 tmem-thaw           Thaw tmem pools
 tmem-set            Change tmem settings
 tmem-shared-auth    De/authenticate shared tmem pool
 tmem-freeable       Get information about how much freeable memory (MB) is in-use by tmem
 network2-attach     Create a new version 2 virtual network device
 network2-list       list version 2 virtual network interfaces for a domain
 network2-detach     destroy a domain's version 2 virtual network device
 cpupool-create      Create a CPU pool based an ConfigFile
 cpupool-list        List CPU pools on host
 cpupool-destroy     Deactivates a CPU pool
 cpupool-rename      Renames a CPU pool
 cpupool-cpu-add     Adds a CPU to a CPU pool
 cpupool-cpu-remove  Removes a CPU from a CPU pool
 cpupool-migrate     Moves a domain into a CPU pool
 cpupool-numa-split  Splits up the machine into one CPU pool per NUMA node
 
 
 

相关文章: