Changes

From CDOT Wiki
Jump to: navigation, search

OPS235 Lab 5 - CentOS7 - SSD2

No change in size, 14:58, 22 December 2018
Part 2: Using crontab to Automatically Alert System Administrator of Low Hard Disk Space
#Make certain you are logged in as '''root'''.
#Change to the '''/root/bin''' directory.
#Download the following shell script by issuing the following command: <br><b><code><span style=" pointer-events:none;cursor:default;color:#3366CC;font-size:1.2em;">wget httpshttp://scscs.senecac.onsenecacollege.ca/~murray.saulops235/lab5/monitor-disk-space.bash</span></code></b>
#Try to understand what this Bash Shell script does (refer to man pages for the '''awk''' command), and then run the script as root.
#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.
'''Answer INVESTIGATION 1 observations / questions in your lab log book.'''
 
=INVESTIGATION 2: MANAGING HARD DISK SPACE USING LVM=

Navigation menu