Difference between revisions of "Virsh domstats"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
  
<code>[[virsh]] domstats</code>  
+
<code>[[virsh]] domstats VM_NAME</code>  
 
<pre>
 
<pre>
Domain: 'DOMAIN_NAME'
+
Domain: 'VM_NAME'
 
   state.state=5
 
   state.state=5
 
   state.reason=1
 
   state.reason=1
Line 20: Line 20:
 
   block.1.physical=61865984
 
   block.1.physical=61865984
 
</pre>
 
</pre>
 +
 +
<code>virsh domstats --vcpu VM_NAME</code>
  
 
== Activities ==
 
== Activities ==

Revision as of 06:45, 29 January 2020

virsh domstats VM_NAME

Domain: 'VM_NAME'
  state.state=5
  state.reason=1
  balloon.maximum=524288
  vcpu.current=4
  vcpu.maximum=4
  block.count=2
  block.0.name=hda
  block.0.path=/srv/libvirt/DOMAIN_NAME.qcow2
  block.0.allocation=5964578816
  block.0.capacity=21474836480
  block.0.physical=21478375424
  block.1.name=hdb
  block.1.path=/var/lib/libvirt/images/ubuntu-18.04-netboot-amd64-unattended.iso
  block.1.allocation=61865984
  block.1.capacity=61865984
  block.1.physical=61865984

virsh domstats --vcpu VM_NAME

Activities

  1. Review and understand virsh domstats output.

See also

Advertising: