LPI
305-300 · Question #80
Which command within virsh lists the virtual machines that are running on the current host?
The correct answer is C. list. The command virsh list is used to list all running domains (VMs) on the current host. The command virsh list --all can be used to list both active and inactive domains.
Virtualization
Question
Which command within virsh lists the virtual machines that are running on the current host?
Options
- AI view
- Blist-vm
- Clist
- Dshow
- Elist-all
How the community answered
(34 responses)- A6% (2)
- B3% (1)
- C74% (25)
- D15% (5)
- E3% (1)
Explanation
The command virsh list is used to list all running domains (VMs) on the current host. The command virsh list --all can be used to list both active and inactive domains.
Topics
#virsh#KVM#VM management#CLI commands
Community Discussion
No community discussion yet for this question.