Find processes in a given state, here zombies.
Section: Filtering and Sorting
Filter by state
bash
bash
ps -e -o pid,stat,cmd | awk '$2 ~ /^Z/ {print}'Explanation
Find processes in a given state, here zombies.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Filtering and Sorting