Difference between revisions of "Virsh Memory Commands"
Jump to navigation
Jump to search
Line 3: | Line 3: | ||
== Related commands == | == Related commands == | ||
* <code>[[virsh dominfo]] VM_MACHINE | grep [[memory]]</code> | * <code>[[virsh dominfo]] VM_MACHINE | grep [[memory]]</code> | ||
− | * <code>[[virsh dominfo VM_MACHINE | grep "CPU(s)"</code> | + | * <code>[[virsh dominfo]] VM_MACHINE | grep "CPU(s)"</code> |
* <code>[[Virsh setvcpu]]</code> | * <code>[[Virsh setvcpu]]</code> | ||
Revision as of 12:53, 28 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.
Related commands
virsh dominfo VM_MACHINE | grep memory
virsh dominfo VM_MACHINE | grep "CPU(s)"
Virsh setvcpu
See also
- virsh Memory Commands:
virsh setmaxmem
,virsh setmem
,virsh dommemstat
virsh
: Storage information, Connecting, Operations, Memory, Snapshots, Networking, CPU, release notes,virsh nodedev-list
- KVM, Installation, QEMU,
virsh
,virtinst
,libguestfs-tools
, libvirt, qemu, Red Hat Virtualization (RHV), MacVTap, Virtio, oVirt, KVM services, KVM networking, KVM graphics, CPU, KVM on ARM - Memory: memory pages, RAM, virsh Memory Commands, OOM, meminfo,
vmstat
, NAND, DDR,lsmem
,/dev/shm
,/proc/meminfo
,sar -r
, IOMMU,pmem
, Memory management, Garbage collector, THP, Linux Huge Page TLB
Advertising: