Proxmox and memory: Difference between revisions

From DWIKI
mNo edit summary
mNo edit summary
Line 21: Line 21:


  pvesh get /cluster/resources --output-format json |jq '.[] | select(.id=="qemu/105") | .mem'
  pvesh get /cluster/resources --output-format json |jq '.[] | select(.id=="qemu/105") | .mem'
  [[Category:Proxmox]]     
=FAQ=
== virtio_balloon virtio0: Out of puff! Can't get 1 pages ==
Out of memory: Kill process 10429 (java) score 126 or sacrifice child


[[Category:Proxmox]]
[[Category:Proxmox]]

Revision as of 17:08, 24 February 2022

Docs

Clues

pvesh

pvesh get /cluster/resources

Get current configuration of VM 105

pvesh get /nodes/nuc/qemu/105/status/current

Now to get maxmem given to VM 105

pvesh get /nodes/nuc/qemu/105/status/current --output-format json | jq '.maxmem'

Get memory usage

pvesh get /cluster/resources --output-format json |jq '.[] | select(.id=="qemu/105") | .mem'      


FAQ

virtio_balloon virtio0: Out of puff! Can't get 1 pages

Out of memory: Kill process 10429 (java) score 126 or sacrifice child