Welcome to UltratechHost Forum, Guest. Please take the time to register if you haven't, or click

Tags
Author: UltratechHost - Replies: 0 - Views: 8389
Monitor UNIX / Linux Server Disk Space with Shell Script
Shell script to monitor or watch the disk space and send an email alert if the (free avilable) percentage of space is >= 80%

Create a file, say, /root/serverspace.sh by running the command

Code:
nano /root/loadmonitor.sh

and add the bellow script

[php]#!/bin/sh
# Shell script to monitor or watch the disk space
# It will send an email to $ADMIN, if the (free avilable) percentage
# of space is >= 80%
# -------------------------------------------------------------------------