Stop ps from hiding the truth about your zombie processes

Process & Resource Monitoring (Top/Htop/Ps/Systemd)

Stop ps from hiding the truth about your zombie processes

🧩 The Challenge

Dealing with a server where the load average is slowly climbing for no reason, but a quick glance at the process list shows nothing obviously stuck. I spent half a morning once tracing a runaway script only to realize a pile of zombies were actually the ones polluting my process table.

💡 The Fix

Use the specific status flag in ps to force it to show you the processes that are effectively dead but still hogging an entry in the kernel task list. It clears up the confusion when your process counts don’t add up.

ps auxww | awk '$8=="Z"'

⚙️ Why It Works

Adding the status column check lets you filter out the noise and hunt down the parent processes that stopped reaping their children. You’ll see the zombies plain as day without scrolling through a thousand active lines.

🚀 Pro-Tip: Once you spot them, grab the PID of the parent process and check it with a quick grep in your process tree.

Linux Tips & Tricks | © ngelinux.com | 8/16/2026

0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Newest
Oldest Most Voted