27 Mar 2023 12:12 PM - last edited on 12 Apr 2023 09:02 PM by Karolina_Linda
Hi Team,
Is there any way to monitor the zombie processes and create an alerting profile for it?
Solved! Go to Solution.
16 Apr 2023 01:50 AM
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
16 Apr 2023 10:27 AM
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