VMware Cloud Community
baber
Expert
Expert

How can calculate how much memory is using by guest OS

I want to see the amount of memory that is using by guest OS . Memory usage is not suitable because is shows memory usage for my VM 95% although in the guest os via linux command free -m show just 2GB is using and most of it is caching thus I think if I want see memory usage from OS had to select Memory Guest Demand

Is that correct ? if no please say which metric can show the how much memory is using by OS

also I was read vrops doc about these metrics but really It did not explain clearly

Please mark helpful or correct if my answer resolved your issue.
Reply
0 Kudos
9 Replies
baber
Expert
Expert

Can anyone say which metric can exactly say how much memory guest os is using ?

I think Guest memory demand is such as Active memory thus can show how much memory is using for guest os

Is that correct?

Please mark helpful or correct if my answer resolved your issue.
Reply
0 Kudos
RickVerstegen
Expert
Expert

Memory|Workload (%) is based on memory usage inside the guest OS (assuming vROps is able to collect the data from VMTools via vCenter)

Was I helpful? Give a kudo for appreciation!
Blog: https://rickverstegen84.wordpress.com/
Twitter: https://twitter.com/verstegenrick
Reply
0 Kudos
baber
Expert
Expert

Thanks but the amount of memory workload is same memory usage . both of them show same Percentage although OS not using that .

 

Please mark helpful or correct if my answer resolved your issue.
Reply
0 Kudos
KabirAli82
Expert
Expert

Check this article;

https://blogs.vmware.com/management/2019/01/enhancements-to-virtual-machine-memory-metrics-in-vreali...

 

I've hardly ever seen that vROps and OS show precisely the same amount of memory used. They have a different starting point from which they calculate memory used.


Was I helpful? Give a kudo for appreciation!
Braindumping @ http://kablog.nl/
Tweeting @ https://twitter.com/_Kabir_Ali_
Reply
0 Kudos
baber
Expert
Expert

That is correct . Actually there are not any metrics with same value in vROPS  and OS but they are close to each others. but here memory workload , memory usage are 95% although in the OS memory usage is about 2% this is not normal thus I think memory usage or memory workload not relate to guest OS memory

 

 

Please mark helpful or correct if my answer resolved your issue.
Reply
0 Kudos
RickVerstegen
Expert
Expert

Did you checked Mem|Guest Usage (KB)? If it is not there check in the policy if it is disabled.

Was I helpful? Give a kudo for appreciation!
Blog: https://rickverstegen84.wordpress.com/
Twitter: https://twitter.com/verstegenrick
Reply
0 Kudos
baber
Expert
Expert

Yes. I checked it also it show memory usage is about 90% . but value of memory active is close to guest os  memory usage.

 

Please mark helpful or correct if my answer resolved your issue.
Reply
0 Kudos
KabirAli82
Expert
Expert

Do you see this on one or many VMs? Also which VMware tools version are you running?

I have the same issue with 1 of my VMs. Memory|Workload% and Memory|Guest (kb) both show 100% usage... whiles on the VM itself Windows is at 60%.


Was I helpful? Give a kudo for appreciation!
Braindumping @ http://kablog.nl/
Tweeting @ https://twitter.com/_Kabir_Ali_
Reply
0 Kudos
baber
Expert
Expert

This just happen most on vms with Linux OS and most of them that use vmware tools with guest manage

Please mark helpful or correct if my answer resolved your issue.
Reply
0 Kudos