Skip to content

Latest commit

 

History

History
42 lines (27 loc) · 1.12 KB

File metadata and controls

42 lines (27 loc) · 1.12 KB

Python Process Manager Script

Overview

This script allows the user to list all running system processes or safely terminate a selected process by name. It uses the psutil library to interact with system-level process information and is intended as a learning project for working with system processes in Python.

Features

  • View all running processes
  • Kill processes by name (case-insensitive search)
  • Handles access errors and missing processes safely
  • Interactive command-line menu

How to Run

  • Windows OS
  • Python 3.9 or Later
  • Psutil (Install)

Run the Script:

python ProcessManager.py

What I Learned

  • How to iterate over running processes using psutil.process_iter()
  • How to use safe termination (p.terminate(), error handling)
  • Accepting user input and building simple CLI interfaces

Planned Improvements

  • Looping back to Menu
  • Implement Object Orientated Programming

Project Status

  • On Hiatus until I learn more about Python

Important Note

Terminating critical system processes may cause stability issues. Use this tool responsibly and only terminate processes you understand.