preload preload preload preload

Shell Script To Monit Swap Usage

Some time our system started to use more swap area even 100% of swap area and the system crashes. So for a System Admin it would be very helpful when they get informed if the system started to use more swap usage so that system admin can manage the server before crashing. So I wrote a shell script which will Alert by send mail if the ...
2

Shell script to notify Hard disk space utilization

The below script will check the hard disk space usage, using the command du and send an email alert if any of the partition is using more than 85% of space. vim disk-usage.sh #!/bin/sh df -H | grep -vE '^Filesystem|tmpfs|cdrom' | awk '{ print $5 " " $1 }' | while read output; do echo $output usep=$(echo $output | awk '{ print ...
3

Monit a service monitoring tool in linux

Monit is a utility for managing and monitoring processes, files, directories and devices on a Unix system. Monit conducts automatic maintenance and repair and can execute meaningful causal actions in error situations. E.g. monit can start a process if it does not run, restart a process if it does not respond and stop a process if it ...
0