Difference between revisions of "Template:Virsh memory commands"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
* <code>[[virsh memtune]]</code>                       Get or set memory parameters
+
* <code>[[virsh memtune]]</code>                                         Get or set memory parameters
* <code>[[virsh setmaxmem]] VM_MACHINE 16G</code>       change maximum memory limit
+
* <code>[[virsh setmaxmem]] VM_MACHINE 16G</code> (VM must be stopped)    change maximum memory limit
* <code>[[virsh setmem]]</code>                         change memory allocation
+
* <code>[[virsh setmem]] VM_MACHINE 8G</code> (VM must be running)        change memory allocation
 
* <code>[[virsh dommemstat]]</code> VM_MACHINE          get [[memory]] statistics for a domain
 
* <code>[[virsh dommemstat]]</code> VM_MACHINE          get [[memory]] statistics for a domain
 
* <code>[[virsh freecell]]</code>                      NUMA free memory
 
* <code>[[virsh freecell]]</code>                      NUMA free memory
 
* <code>[[virsh node-memory-tune]]</code>              Get or set node memory parameters
 
* <code>[[virsh node-memory-tune]]</code>              Get or set node memory parameters
 
* <code>[[virsh nodememstats]]</code>                  Prints memory stats of the node.
 
* <code>[[virsh nodememstats]]</code>                  Prints memory stats of the node.

Revision as of 06:31, 8 January 2020

Advertising: