Skip to content

tfregixx/-System-Health-Monitor-Shell-Script-Automation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 

Repository files navigation

System Health Monitor-Shell Script Automation

System Health Monitor is a lightweight full-stack project that collects and displays system performance data using a Bash script integrated with a simple web interface. It helps users quickly check system health including CPU usage, memory, disk space, uptime, and running processes


πŸš€ Features:

πŸ“Š System Health Report – Generates real-time system status πŸ’Ύ Disk Usage Monitoring – Displays storage usage 🧠 Memory Usage Tracking – Shows RAM usage ⏱️ Uptime Monitoring – Tracks system running time βš™οΈ Process List – Displays active processes 🌐 Web Interface – View report via browser πŸ” Automation Ready – Can be scheduled for periodic execution

πŸ“¦ Prerequisites

Ensure the following are installed:

  • Python 3.x
  • Flask
  • Bash / Git Bash (Windows)
  • Web Browser

πŸ› οΈ Technologies Used

Frontend:

  • HTML5
  • CSS3
  • JavaScript

Backend:

  • Python (Flask)
  • Bash Shell Script

Tools:

  • VS Code
  • Git & GitHub
  • Git Bash / Linux Terminal

πŸ“ Project Structure

system-health-monitor/

β”œβ”€β”€ backend/

β”‚ β”œβ”€β”€ app.py β”‚ └── ps-health-report.sh

β”œβ”€β”€ frontend/

β”‚ β”œβ”€β”€ index.html β”‚ └── script.js

β”œβ”€β”€ logs/

β”‚ └── ps-health-report.txt

β”œβ”€β”€ README.md


βš™οΈ Installation

1️⃣ Clone the repository

2️⃣ Start Backend Server

  • cd backend
  • pip install flask
  • python app.py

3️⃣ Run Frontend

Open in browser:

frontend/index.html

▢️ How It Works

  • User clicks Run Report on UI

  • Flask backend triggers the Bash script

  • Script collects system data using Linux commands

  • Data is saved in a log file

  • Frontend fetches and displays the report


Workflow Diagram

image

πŸ“Œ Example Use Cases

  • Monitoring system performance
  • Learning shell scripting & automation
  • Beginner DevOps practice
  • Academic mini-project

πŸš€ Future Enhancements

  • Real-time CPU graphs
  • User authentication
  • Cloud deployment
  • Docker support
  • Alert notifications

πŸ“„ License

This project is for educational purposes. Free to use with attribution.


πŸ™Œ Acknowledgments

  • Open-source community
  • Linux documentation
  • Academic guidance

πŸ”— Repository Clone

gh repo clone tfregixx/-System-Health-Monitor-Shell-Script-Automation

About

System Health Monitor is a lightweight full-stack project that collects and displays system performance data using a Bash script integrated with a simple web interface. It helps users quickly check system health including CPU usage, memory, disk space, uptime, and running processes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors