Question: Create a script sends an email message to the user specified on the command line if any of the file systems at more than 60%

Create a script sends an email message to the user specified on the command line if any of the file systems at more than 60% of capacity. The script should not process special file systems as /proc on the ce.uml.edu. It should only process file systems which are either locally mounted or are mounted via NFS.

An individual email should be sent for each filey system which is at the warning level (60%) There should be a subject on the email with a message "Warning: File system here is at % of capacity" If the files system is at greater than 90% of capacity, the "Warning" should be changed to "Critical Warning".

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!