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>
46 lines
926 B
Batchfile
46 lines
926 B
Batchfile
@echo off
|
|
REM Storage Dashboard Start Script for Windows
|
|
|
|
echo ================================
|
|
echo Storage Dashboard Startup
|
|
echo ================================
|
|
echo.
|
|
|
|
REM Check if Python is installed
|
|
python --version >nul 2>&1
|
|
if errorlevel 1 (
|
|
echo Error: Python is not installed
|
|
pause
|
|
exit /b 1
|
|
)
|
|
|
|
echo Python version:
|
|
python --version
|
|
echo.
|
|
|
|
REM Navigate to backend directory
|
|
cd backend
|
|
|
|
REM Check if requirements are installed
|
|
echo Checking dependencies...
|
|
python -c "import flask" >nul 2>&1
|
|
if errorlevel 1 (
|
|
echo Installing dependencies...
|
|
pip install -r requirements.txt
|
|
) else (
|
|
echo Dependencies already installed
|
|
)
|
|
|
|
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.
|
|
|
|
REM Start the Flask application
|
|
python app.py
|