This is a simple script that verify if your used memory it's above (put a number here)%.
I wrote this script to involve my shell hability . If you have any interest in help me to improve my knowledge , please clone this repository. Thanks =)
Cronmem.sh - it's for Crontab.
exemple:
* * * * * /memcontroler/mem.sh
mem.sh - User will execute the script whenever he want.
exemple:
./mem.sh 0.6