This is a simple command-line interface (CLI) tool built with Python 🐍 and psutil 📊 that allows you to monitor your system’s resource usage and manage processes.
- 🧠 Display current CPU usage percentage
- 🧬 Show memory usage percentage
- 💾 Check disk usage of the root directory
- 📋 List all running processes with their PID, CPU, and memory usage
- 🔎 Find the PID of a process by its name
Run the script and choose from the menu options:
- 🧠 CPU Usage
- 🧬 Memory Usage
- 💾 Disk Usage
- 📋 Process List
- 🔍 Get PID of a specific process
- 🚪 Exit the tool
- 📚
psutillibrary → install withpip install psutil - 🐍 Python 3.x
Choose an option: 1) CPU Usage 2) Memory Usage 3) Disk Usage 4) Process List 5) Process Pid 6) Exit Choice: 1 CPU Usage: 23.5%
This tool runs in an infinite loop until you choose to exit. Make sure to run it in a terminal or command prompt that supports interactive input 💡