14.10.4. 显示虚拟客户机信息
将 virsh 与客户机虚拟机的域 ID、域名或 UUID 一起使用,您可以在指定的客户端虚拟机中显示信息:
# virsh dominfo {domain-id, domain-name or domain-uuid}
这是 virsh dominfo 输出的示例:
# virsh dominfo vr-rhel6u1-x86_64-kvm Id: 9 Name: vr-rhel6u1-x86_64-kvm UUID: a03093a1-5da6-a2a2-3baf-a845db2f10b9 OS Type: hvm State: running CPU(s): 1 CPU time: 21.6s Max memory: 2097152 kB Used memory: 1025000 kB Persistent: yes Autostart: disable Security model: selinux Security DOI: 0 Security label: system_u:system_r:svirt_t:s0:c612,c921 (permissive)