nerdexam
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)
  • A
    6% (2)
  • B
    3% (1)
  • C
    74% (25)
  • D
    15% (5)
  • E
    3% (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.

Full 305-300 Practice