Difference between revisions of "Template:Virsh memory commands"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
− | * <code>[[virsh memtune]]</code> | + | * <code>[[virsh memtune]]</code> Get or set memory parameters |
− | * <code>[[virsh setmaxmem]] VM_MACHINE 16G</code> | + | * <code>[[virsh setmaxmem]] VM_MACHINE 16G</code> (VM must be stopped) change maximum memory limit |
− | * <code>[[virsh setmem]]</code> | + | * <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
virsh memtune
Get or set memory parametersvirsh setmaxmem VM_MACHINE 16G
(VM must be stopped) change maximum memory limitvirsh setmem VM_MACHINE 8G
(VM must be running) change memory allocationvirsh dommemstat
VM_MACHINE get memory statistics for a domainvirsh freecell
NUMA free memoryvirsh node-memory-tune
Get or set node memory parametersvirsh nodememstats
Prints memory stats of the node.
Advertising: