A real-time system monitoring tool built with Python. It tracks your resource usage (CPU, RAM, Disk), shows disk partition details, and identifies the most resource-hungry processes.
- Global Resource Tracking: Real-time progress bars for total CPU, RAM, and Disk usage.
- Partition Monitoring: Automatically detects and displays usage for all connected drives (including USBs).
- Top Processes: Shows the top 5 applications consuming the most CPU power.
- Real-Time Logs: View a live feed of system status logs.
- Error Tracking: A dedicated window to see only system warnings and alerts (Thresholds: CPU/RAM > 80%, Disk > 90%).
- Cross-Platform: Works on Windows, Linux, and macOS.
- Install Python: Make sure you have Python 3 installed.
- Install Dependencies:
You need the
psutillibrary to get system stats.(Note:pip install psutil
tkinterusually comes pre-installed with Python on Windows. On Linux, you might needsudo apt install python3-tk).
Open your terminal or command prompt in the project folder and run:
python main.py- Backend (
psutil): We use thepsutillibrary to ask the Operating System for numbers (like "What is the CPU percentage?"). - Frontend (
tkinter): We usetkinterto draw the window and widgets. - Threading: The monitoring logic runs in a background thread (daemon). This ensures the interface remains responsive and doesn't freeze while fetching data.
- Dynamic Update: The UI updates every 2 seconds by scheduling a task on the main thread using
root.after().
This project is open-source and created for educational purposes by Vladyslav Urdenko. Feel free to modify and share!