QEMU Agent showing disk usage for memory

Lucrin

New Member
Aug 30, 2024
3
1
3
It looks like QEMU agent is displaying disk usage instead of memory for some reason. Every time I install a package it just increases along with disk usage. Anyone every seen anything like this or know how to fix it? As you can see I am only using 4-500MB of memory but disk usage is lining up with what is showing for memory by QEMU.

1742050343017.png1742050181512.png
 
May I ask which is the tool name that you used in Linux for watching resource usage? And I checked with nmon tool in Debian 12 VM, it seems PVE WebUI report's memory usage is same as nmon reported in that VM. I want to use the tool you tried to make sure it again.
QEMU_Agent.png
 
May I ask which is the tool name that you used in Linux for watching resource usage? And I checked with nmon tool in Debian 12 VM, it seems PVE WebUI report's memory usage is same as nmon reported in that VM. I want to use the tool you tried to make sure it again.
View attachment 83678
The image I attached above is using btop to view utilization from within the VM.
 
Hi Lucrin, I use btop and get the result same as yours, it's seems nmon and btop use different method to calculate the memory usage. Then I also use free -h to verify it again, the interesting thing is after the vm running for a while, use free -h show the memory usage also not same as qemu-agent reported, but once issued clear memory cache, the memory usage reported by qemu-agent is corrected regression, as same as free -h.. ^_^!1742091330125.png