🖥️ System Health Monitoring Script 📘 Overview
This script continuously monitors the health of a Linux system by checking critical performance metrics such as:
CPU Usage Memory Usage Disk Space Running Processes
If any of these exceed predefined thresholds, the script generates an alert message on the console and logs it to a file for further review.
⚙️ Features
✅ Monitors key system performance metrics ✅ Customizable threshold limits ✅ Alerts on console and logs in a file ✅ Lightweight and easy to schedule with cron ✅ Compatible with all major Linux distributions
🧩 Prerequisites
Before running the script, ensure you have: A Linux environment (Ubuntu, CentOS, etc.) Basic shell utilities (top, df, free, ps) Bash shell (/bin/bash)