Difference between revisions of "Virsh Memory Commands"
Jump to navigation
Jump to search
(14 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | {{virsh memory commands}} | + | {{virsh memory commands TOC}} |
== Related commands == | == Related commands == | ||
− | * <code>virsh | + | * <code>[[virsh dominfo]] VM_MACHINE | grep [[memory]]</code> |
− | + | * <code>[[virsh dominfo]] VM_MACHINE | grep "CPU(s)"</code> | |
− | + | * <code>[[virsh setvcpu]]</code> | |
+ | * <code>[[virsh domstats]] --memory</code> (Added in <code>[[libvirt]]</code> v6.0.0 (2020-01-15)) | ||
+ | == Related changelog == | ||
+ | * [[QEMU]] 4.2.0.12/12/2019 [[ARM]]: “virt” machine now supports memory [[hotplugging]] | ||
== See also == | == See also == | ||
+ | * {{virsh memory commands}} | ||
+ | * {{virsh}} | ||
+ | * {{libvirtd}} | ||
* {{KVM}} | * {{KVM}} | ||
* {{memory}} | * {{memory}} | ||
− | |||
Latest revision as of 07:08, 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[edit]
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[edit]
- QEMU 4.2.0.12/12/2019 ARM: “virt” machine now supports memory hotplugging
See also[edit]
- virsh Memory Commands:
virsh setmaxmem
,virsh setmem
,virsh dommemstat
virsh
: Storage information, Connecting, Operations, Memory, Snapshots, Networking, CPU, release notes,virsh nodedev-list
- libvirtd:
systemctl status libvirtd
,systemctl status libvirt-guests
, Libvirt release notes, logs,libvirtd.conf
,/etc/libvirt/
,/var/log/libvirt/
- 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: