Bash : how to simply check disk space on linux and take action when a threshold is reached
Hi all, after showing you how to simply check load average or memory usage on linux, today i’ll simply show you how to check disk space and take action if a threshold is reached. We’ll simply use df, grep, awk, cut and if/then to do this : Just put it in your crontab and you’ll …
Lire la suite