Understanding Zombie Processes in Linux

Publié le: 16 juin 2022
sur la chaîne: theurbanpenguin
4,741
160

We dice out the the Linux command line to learn about Zombie Processes. The name does not help them really as Zombies are quite normal. When a parent process starts the child process it is the parent's task to clean up the child when it is finished. It know the child has finished as it goes into the zombie state. So normally we are not seeing zombie processes in Linux as they will be cleaned up automatically.

Creating our own C program that allows the parent to sleep when the child is created; we will see the zombie for as long as the parent is asleep.

Additionally you can find my video courses on Pluralsight: http://pluralsight.com/training/Autho... and take time to see my own site http://www.theurbanpenguin.com

00:00 Introduction
02:11 C Source File
03:09 Edit the sleep time
03:44 Compile and link source
4:30 Execute code
04:53 Use ps to list processes
05:14 Use top to list processes

~-~~-~~~-~~-~
Please watch: "RHCSA 9 Working With Podman Containers"
   • How To Use Podman Containers  
~-~~-~~~-~~-~


Sur cette page du site, vous pouvez voir la vidéo en ligne Understanding Zombie Processes in Linux durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur theurbanpenguin 16 juin 2022, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 4,741 fois et il a aimé 160 téléspectateurs. Bon visionnage!