Skip to content

About

A Linux utility focused on detecting and reaping zombie processes.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

Linux Zombie Process Scanner Prototype

A Python experiment that scans numeric entries under /proc, reads process status files, and reports entries whose state is marked Z. It demonstrates Linux process inspection; it is not a reliable process reaper.

Run

python3 zombie_detector.py

Use a Linux system with /proc mounted. Processes can exit or become inaccessible while a scan is in progress, so a report is only a point-in-time observation.

Important limitation

The current reap_zombie() implementation signals the process that launched the scanner (os.getppid()), not the actual parent of the zombie PID being reported. Sending SIGCHLD to that process does not guarantee that the target zombie will be reaped. Do not rely on this script to clean up processes or run it as a system recovery tool.

About

A Linux utility focused on detecting and reaping zombie processes.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages