How sujithshetty925-sudo/linux-server-monitoring works
This Bash project monitors Linux resource and service health. The main workflow is to run the monitor, collect CPU, memory, and root-disk utilization, and write timestamped results to a health log. A separate script checks requested services with systemctl and can optionally restart them. The README documents these interactions; no source excerpts were provided, so the graph does not infer additional implementation details.
Main entry points: monitor.sh Resource Monitor · service_check.sh Service Check and Restart · logs Health Log
Components 6
Health Monitoring
- Resource Monitor
scripts/monitor.sh - CPU, Memory, Disk
scripts/monitor.sh - Health Log
logs
Service Management
- Service Check and Restart
scripts/service_check.sh - systemctl
Other components
- Operator
Connections 6
- Operator → Resource Monitor: runs
README.md - Resource Monitor → CPU, Memory, Disk: checks
README.md - Resource Monitor → Health Log: writes results
README.md - Operator → Service Check and Restart: runs
README.md - Service Check and Restart → systemctl: checks services
README.md - Service Check and Restart → systemctl: may restart
README.md