Python script to display detailed system information including CPU, memory, and GPU stats using psutil
, GPUtil
, colorama
, and tabulate
libraries. Provides clear, formatted output in the terminal.
- System Information: Displays OS platform, node name, release version, machine type, and processor information.
- CPU Information: Shows physical and total core count, maximum and minimum CPU frequency, current frequency for each core, and total CPU usage percentage.
- Memory Information: Provides total memory, available memory, used memory, memory usage percentage, total swap space, free swap space, used swap space, and swap usage percentage.
- GPU Information: Retrieves GPU ID, name, load percentage, free memory, used memory, total memory, and temperature for each GPU installed.
-
Clone the repository:
git clone https://github.com/Pranjol-Dev/python-system-monitor.git cd python-system-monitor
-
Install dependencies:
pip install psutil GPUtil colorama tabulate
Run the script main.py
:
python main.py
The script will output detailed system information formatted in tables with colored text for clarity.
This project is licensed under the MIT License - see the LICENSE file for details.