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