Scenario: Centos Guest OS with 8GB/24GB RAM as min/max allocated. The machine typically uses between 10GB and 12GB of the allowed RAM due to ballooning, but here's a problem: Using
free -h
shows only 14GB in total available. Can't find anything else that shows the 24GB max allowed.There are some software alarms (outside of out control) that get triggered at 50 / 70 and 80% RAM usage, so 12/24 triggers this alarm. Of course it should not, since it's actually 12/24, which is 50%.
How can the guest OS check how much RAM is allowed?