cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Zombie process monitoring and alerting

Vikas_g1997
Dynatrace Participant
Dynatrace Participant

Hi Team,

Is there any way to monitor the zombie processes and create an alerting profile for it?

2 REPLIES 2

Mohamed_Hamdy
DynaMight Champion
DynaMight Champion

Hi @Vikas_g1997,

as you know, a zombie process refers to any process that is essentially removed from the system as ‘defunct’, but still somehow resides in the processor’s memory as a ‘zombie’.

so it will not be detected by OneAgent, however, I'm thinking of a workaround that might work, you can use the generic Linux command extension and run the command such as (ps -A -ostat,pid,ppid | grep -e '[zZ]') to get process ID, note that this extension will consume DDUs, This extension will consume 0.001 DDU per metric datapoint ingested.

you can find multiple references online regarding how to identify and remove a zombie process

Certified Dynatrace Professional | Certified Dynatrace Services Delivery - Observability & CloudOps | Dynatrace Partner - yourcompass.ca

Hi,

Following @Mohamed_Hamdy idea, you can use Metric scripting integration to ingest to Dynatrace how many zombie processes you have.

And then, you can play with metric events and alerting profiles.

Best regards

❤️ Emacs ❤️ Vim ❤️ Bash ❤️ Perl

Featured Posts