I am searching for how to write a script (for bash) that verifies if there exists a partition that occupies more than x% of the disk (where x is a parameter), and that, if it is the case, sends an e-mailto root with the name of these partitions. I know I somehow have to combine awk, and mail...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.