Skip to content

veekrum/memteller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Memteller

Script that shows the memory usage by the xcowsay

Requirement

Install xcowsay

sudo apt install -y xcowsay 

Usage

Clone the repo:-

git clone git@github.com:veekrum/memteller.git 

get inside repo :-

cd memteller 

run the script :-

./run.sh 

Finish.

Result

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:- https://github.com/veekrum/memteller/blob/master/images/cow.png

Change Interval in Cron

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

Releases

No releases published

Packages

No packages published

Languages