+1
Under review

Enhance Ram monitoring

reynermedia 10 years ago updated by topantidevelopers 8 years ago 2
Hello, 
I use Anturis to monitor an Apache web server with APC cache runing on Centos

With this configuration, the FREE RAM monitoring doesn't tell anything because of the memory. 
But if I execute the command free -m I can see a usable information: 

                     total     used          free shared  buffers    cached
Mem:            7454     7366           87    0        367        3746
-/+ buffers/cache:        3252      4201


87 Mb is the information actually monitored
4201 Mb is the real free memory on my server. 

Thank you in advance. 

+1
Under review
Hello,

You can use Shell command monitor to monitor such configuration. The command line is: free -m | grep "buffers/cache" | awk '{print $4}'. If you want to monitor other parameter in Mem string you can use this command line:  free -m | grep "Mem" | awk '{ print $2}' where $2 required value 
+1

lovely! you could totaly add a setting in ram to make this even easier though