Finding "memory usage" using "metrics RAM"

Discussions about using Windows guests in VirtualBox.
Post Reply
rmartele
Posts: 6
Joined: 19. Jul 2011, 12:11
Primary OS: Ubuntu other
VBox Version: OSE Debian
Guest OSses: Windows XP

Finding "memory usage" using "metrics RAM"

Post by rmartele »

Hi everyone,

I'm currently using VirtualBox on Ubuntu (guest : Windows XP) and I wish to monitor the memory usage of my virtual machine.

To do that, I try :

Code: Select all

VBoxManage metrics setup --period 1 --samples 5 Windows_XP CPU/Load,RAM/Usage
VBoxManage metrics query Windows_XP
And it gives me this result :

Code: Select all

Object     Metric               Values
---------- -------------------- --------------------------------------------
Windows_XP CPU/Load/User        1.00%, 0.50%, 0.50%, 1.01%, 0.50%
Windows_XP CPU/Load/User:avg    0.70%
Windows_XP CPU/Load/User:min    0.50%
Windows_XP CPU/Load/User:max    1.01%
Windows_XP CPU/Load/Kernel      1.00%, 2.00%, 1.50%, 3.03%, 1.50%
Windows_XP CPU/Load/Kernel:avg  1.80%
Windows_XP CPU/Load/Kernel:min  1.00%
Windows_XP CPU/Load/Kernel:max  3.03%
Windows_XP RAM/Usage/Used       621184 kB, 621184 kB, 621184 kB, 621184 kB, 621184 kB
Windows_XP RAM/Usage/Used:avg   621184 kB
Windows_XP RAM/Usage/Used:min   621184 kB
Windows_XP RAM/Usage/Used:max   621184 kB
Windows_XP Guest/CPU/Load/User  0.00%, 0.00%, 0.00%, 0.00%, 0.00%
Windows_XP Guest/CPU/Load/User:avg 0.00%
Windows_XP Guest/CPU/Load/User:min 0.00%
Windows_XP Guest/CPU/Load/User:max 0.00%
Windows_XP Guest/CPU/Load/Kernel 0.00%, 0.00%, 0.00%, 0.00%, 0.00%
Windows_XP Guest/CPU/Load/Kernel:avg 0.00%
Windows_XP Guest/CPU/Load/Kernel:min 0.00%
Windows_XP Guest/CPU/Load/Kernel:max 0.00%
Windows_XP Guest/CPU/Load/Idle  0.00%, 0.00%, 0.00%, 0.00%, 0.00%
Windows_XP Guest/CPU/Load/Idle:avg 0.00%
Windows_XP Guest/CPU/Load/Idle:min 0.00%
Windows_XP Guest/CPU/Load/Idle:max 0.00%
Windows_XP Guest/RAM/Usage/Total 0 kB, 0 kB, 0 kB, 0 kB, 0 kB
Windows_XP Guest/RAM/Usage/Total:avg 0 kB
Windows_XP Guest/RAM/Usage/Total:min 0 kB
Windows_XP Guest/RAM/Usage/Total:max 0 kB
Windows_XP Guest/RAM/Usage/Free 0 kB, 0 kB, 0 kB, 0 kB, 0 kB
Windows_XP Guest/RAM/Usage/Free:avg 0 kB
Windows_XP Guest/RAM/Usage/Free:min 0 kB
Windows_XP Guest/RAM/Usage/Free:max 0 kB
Windows_XP Guest/RAM/Usage/Balloon 0 kB, 0 kB, 0 kB, 0 kB, 0 kB
Windows_XP Guest/RAM/Usage/Balloon:avg 0 kB
Windows_XP Guest/RAM/Usage/Balloon:min 0 kB
Windows_XP Guest/RAM/Usage/Balloon:max 0 kB
Windows_XP Guest/RAM/Usage/Shared 0 kB, 0 kB, 0 kB, 0 kB, 0 kB
Windows_XP Guest/RAM/Usage/Shared:avg 0 kB
Windows_XP Guest/RAM/Usage/Shared:min 0 kB
Windows_XP Guest/RAM/Usage/Shared:max 0 kB
Windows_XP Guest/RAM/Usage/Cache 0 kB, 0 kB, 0 kB, 0 kB, 0 kB
Windows_XP Guest/RAM/Usage/Cache:avg 0 kB
Windows_XP Guest/RAM/Usage/Cache:min 0 kB
Windows_XP Guest/RAM/Usage/Cache:max 0 kB
Windows_XP Guest/Pagefile/Usage/Total 0 kB, 0 kB, 0 kB, 0 kB, 0 kB
Windows_XP Guest/Pagefile/Usage/Total:avg 0 kB
Windows_XP Guest/Pagefile/Usage/Total:min 0 kB
Windows_XP Guest/Pagefile/Usage/Total:max 0 kB
My questions are :
  • What's the difference between "RAM/Usage" and "Guest/RAM/Usage"? I queried "Windows_XP" (the guest) and not "host" so I don't think "Guest/RAM/..." is for the guest and "RAM/..." for the host... Am I wrong?
    Why values of Guest are 0 each time?
    What does "RAM/Usage/Used" represent? I gave 512MB of memory to this VM so I don't understand these results...
Thanks for your help ;)
rmartele
Posts: 6
Joined: 19. Jul 2011, 12:11
Primary OS: Ubuntu other
VBox Version: OSE Debian
Guest OSses: Windows XP

Re: Finding "memory usage" using "metrics RAM"

Post by rmartele »

UP ^^

No idea?

Nobody ever tried to measure memory usage with this "guest/host config"?

Do I have to precise more details?

Thx for any help
Post Reply