Understanding Zombie Processes in Linux

Опубликовано: 16 Июнь 2022
на канале: 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  
~-~~-~~~-~~-~


Смотрите видео Understanding Zombie Processes in Linux онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь theurbanpenguin 16 Июнь 2022, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 4,74 раз и оно понравилось 16 людям.