Skip to content

DarioStar999/System-Monitor-CLI-Tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ–₯️ System Monitor CLI Tool

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.

✨ Features

  • 🧠 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

πŸ› οΈ Usage

Run the script and choose from the menu options:

  1. 🧠 CPU Usage
  2. 🧬 Memory Usage
  3. πŸ’Ύ Disk Usage
  4. πŸ“‹ Process List
  5. πŸ” Get PID of a specific process
  6. πŸšͺ Exit the tool

πŸ“¦ Requirements

  • πŸ“š psutil library β†’ install with pip install psutil
  • 🐍 Python 3.x

πŸ–₯️ Example


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%

πŸ” Note

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 πŸ’‘

About

This tool is built using the psutil library, it provides various functions such as see CPU usage, memory usage, disk usage, and the list of running processes, and a Get Pid Id Function

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors