mirror of
https://github.com/x1xhlol/system-prompts-and-models-of-ai-tools.git
synced 2026-01-30 13:54:18 -05:00
This commit introduces a complete web-based dashboard for monitoring storage device performance metrics in real-time. Features: - Real-time monitoring with auto-refresh every 5 seconds - Comprehensive metrics collection (disk usage, I/O stats, IOPS, SMART data) - Interactive visualizations using Chart.js - Modern dark-themed responsive UI - Python Flask backend with REST API - System information and uptime tracking - Historical performance trend charts Tech Stack: - Backend: Python 3.8+, Flask, psutil, pySMART - Frontend: HTML5, CSS3, JavaScript ES6+, Chart.js - Cross-platform support with startup scripts for Linux/Windows The dashboard provides system administrators and monitoring enthusiasts with a powerful tool to track storage performance, identify bottlenecks, and monitor disk health. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
43 lines
931 B
Bash
Executable File
43 lines
931 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Storage Dashboard Start Script
|
|
|
|
echo "================================"
|
|
echo "Storage Dashboard Startup"
|
|
echo "================================"
|
|
echo ""
|
|
|
|
# Check if Python is installed
|
|
if ! command -v python3 &> /dev/null; then
|
|
echo "Error: Python 3 is not installed"
|
|
exit 1
|
|
fi
|
|
|
|
echo "Python version: $(python3 --version)"
|
|
echo ""
|
|
|
|
# Navigate to backend directory
|
|
cd backend
|
|
|
|
# Check if requirements are installed
|
|
echo "Checking dependencies..."
|
|
if ! python3 -c "import flask" 2>/dev/null; then
|
|
echo "Installing dependencies..."
|
|
pip install -r requirements.txt
|
|
else
|
|
echo "Dependencies already installed"
|
|
fi
|
|
|
|
echo ""
|
|
echo "================================"
|
|
echo "Starting Storage Dashboard..."
|
|
echo "================================"
|
|
echo ""
|
|
echo "Access the dashboard at: http://localhost:5000"
|
|
echo ""
|
|
echo "Press Ctrl+C to stop the server"
|
|
echo ""
|
|
|
|
# Start the Flask application
|
|
python3 app.py
|