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: [ Ссылка ] and take time to see my own site [ Ссылка ]
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"
[ Ссылка ]
-~-~~-~~~-~~-~-
Understanding Zombie Processes in Linux
Теги
LinuxZombie Processes Linuxc programschild processforklinux commandslinux operating systemlinux processlinux processesprocess in linuxprocessespstopubuntuunderstand zombie processeszombiezombie and orphan process in linuxzombie and orphan process in oszombie processzombie process in linuxzombie process in operating system