1,576
edits
Changes
Changes monitor-disk-space.py URL script to GitHub.
#Perform this section in your '''c7host''' machine
#Change to your '''bin''' directory.
#Download the following shell script by issuing the following command: <br><b><code><span style="cursor:default;color:#3366CC;font-size:1.2em;">wget https://ictraw.senecacollegegithubusercontent.cacom/~ops245OPS245/labs/main/monitor-disk-space.py</span></code></b>
#Try to understand what this script does (refer to man pages for the '''awk''' command), and then run the script with elevated permissions.
#Give execute permissions and run this shell script. This script is supposed to notify the root user by email if there are any potential partition size issues.