Qemu: Difference between revisions
From Lolly's Wiki
Jump to navigationJump to search
m (Text replacement - "<source" to "<syntaxhighlight") |
|||
Line 3: | Line 3: | ||
=virsh - management user interface= | =virsh - management user interface= | ||
==Display running domains== | ==Display running domains== | ||
< | <syntaxhighlight lang=bash> | ||
# virsh list | # virsh list | ||
Id Name State | Id Name State | ||
Line 11: | Line 11: | ||
==Display domain information== | ==Display domain information== | ||
< | <syntaxhighlight lang=bash> | ||
# virsh dominfo domain_v1 | # virsh dominfo domain_v1 | ||
Id: 1 | Id: 1 |
Revision as of 15:27, 25 November 2021
virsh - management user interface
Display running domains
<syntaxhighlight lang=bash>
- virsh list
Id Name State
1 domain_v1 running
</source>
Display domain information
<syntaxhighlight lang=bash>
- virsh dominfo domain_v1
Id: 1 Name: domain_v1 UUID: b80fe77e-5bdd-29a9-d4c4-84482ace50ff OS Type: hvm State: running CPU(s): 4 CPU time: 674481.3s Max memory: 15605760 KiB Used memory: 15605760 KiB Persistent: yes Autostart: disable Managed save: no Security model: none Security DOI: 0 </source>