Difference between revisions of "Virsh Memory Commands"
Jump to navigation
Jump to search
Line 5: | Line 5: | ||
* <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> | ||
− | * <code>virsh domstats --memory</code> (Added in [[libvirt]] v6.0.0 (2020-01-15)) | + | * <code>virsh domstats --memory</code> (Added in <code>[[libvirt]]</code> v6.0.0 (2020-01-15)) |
== Related changelog == | == Related changelog == |
Revision as of 06:53, 2 July 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
virsh domstats --memory
(Added inlibvirt
v6.0.0 (2020-01-15))
Related changelog
- QEMU 4.2.0.12/12/2019 ARM: “virt” machine now supports memory hotplugging
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: