Thomas Oettli - 2011-01-26

I've got the same problem here.
Currently, I'm checking a lot Linux servers for zombie processes, this is working well so far.
Today, one machine had a lot of hanging backup processes and I was wondering, why the plugin didn't recognize that.

After some debugging, I've seen that these processes had the state ZN (zombie with low-priority).

In fact it isn't important for me if zombie processes have a lower priority or not, I would like to be able to count all processes which have a "Z" in their state.

POSSIBLE SOLUTION: Please implement a method to match the state with wild-cards or a regular expression (e.g. --state="*Z*" or --state="m/.*Z.*/")