Difference between revisions of "Template:Virsh memory commands"
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]]</code> | + | * <code>[[virsh setmaxmem]] VM_MACHINE 16G</code> change maximum memory limit |
* <code>[[virsh setmem]]</code> change memory allocation | * <code>[[virsh setmem]]</code> 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 |
Revision as of 06:04, 8 January 2020
virsh memtune
Get or set memory parametersvirsh setmaxmem VM_MACHINE 16G
change maximum memory limitvirsh setmem
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: