通用命令
概述
参考:
quit, exit version cd pwd connect uri hostname sysinfo nodeinfo nodecpumap nodecpustats nodememstats nodesevinfo nodesuspend node-memory-tune capabilities domcapabilities pool-capabilities inject-nmi
list # 列出所有正在运行的 domain
https://github.com/libvirt/libvirt/blob/master/docs/manpages/virsh.rst#list
Syntax(语法)
list [OPTIONS]
OPTIONS
- –all # 列出活动和非活动的所有 domain
- –title # 显示 domain 的 title
- –name # 仅显示虚拟机名称
EXAMPLE
- virsh list # 列出所有正在运行的 domain
cpu-baseline
https://github.com/libvirt/libvirt/blob/master/docs/manpages/virsh.rst#cpu-baseline
cpu-compare
https://github.com/libvirt/libvirt/blob/master/docs/manpages/virsh.rst#cpu-compare
cpu-models
https://github.com/libvirt/libvirt/blob/master/docs/manpages/virsh.rst#cpu-models
hypervisor-cpu-compare
https://github.com/libvirt/libvirt/blob/master/docs/manpages/virsh.rst#hypervisor-cpu-compare
hypervisor-cpu-baseline
https://github.com/libvirt/libvirt/blob/master/docs/manpages/virsh.rst#hypervisor-cpu-baseline
反馈
此页是否对你有帮助?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.