Script that shows the memory usage by the xcowsay
Install xcowsay
sudo apt install -y xcowsay
Clone the repo:-
git clone git@github.com:veekrum/memteller.git
get inside repo :-
cd memteller
run the script :-
./run.sh
Finish.
If your RAM memory-usage is more than 60%. else the message will not appear. You will get noticed in each 30 minutes by the beautiful cow with the memory usage message like this:-
we are using the interval of 5 minutes to show the message. You can change the interval SO.
vim run.sh and change the value of */interval_num * * * *
line="*/5 * * * * export DISPLAY=:0 && cd $DIR && ./memteller.sh > /tmp/cronlog.log 2>&1"
Now, save and run “./run.sh“ again