Quantcast
Channel: Dariusz on Software Quality » sh
Viewing all articles
Browse latest Browse all 9

Automatic free disk space monitoring on Linux server

$
0
0

The simplest way to monitor free disk space on Linux serwer, just place it in crontab:

0 8 * * *     df -h | awk '/^\// && $5 > 95 { print "missing space", $0 }'

and ensure e-mail to this user is forwarded to you then you will see e-mail when occupied space is higher than 95% on any disk.

Pretty simple.


Viewing all articles
Browse latest Browse all 9

Trending Articles