Understanding Zombie Processes in Linux

Published: 16 June 2022
on channel: 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  
~-~~-~~~-~~-~


Watch video Understanding Zombie Processes in Linux online without registration, duration hours minute second in high quality. This video was added by user theurbanpenguin 16 June 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 4,74 once and liked it 16 people.