scripts Hi, Topics related to linux shell scripting are discussed here Backup cPanel Account SSH Plesk Website Mail and Database Backup Script shell script to backup mysql databases linux user login monitor script shell script to delete /tmp files linux leaving eacclarator folder script to notify high server load | linux script for monitoring server shell script to find linux memory process usage « Previous Page
This script will check the free memory without taking into account the cached and buffered memories
total used free shared buffers cached
Mem: 3894 3719 174 0 121 1965
-/+ buffers/cache: 1632 2262
Swap: 8191 0 8191
This machine has around 2GB of free memory, even if the free column show just 174.
You are right, I would possibly write another script to take cache and buffered RAM into account for calculation.
Yes, you are right.. You want me to sum up buffer along with RAM as well?