caused them.
To remove the dead processes we have to proceed through the process they created, enter the following command:
ps -o ppid= -p 0000
In the red field, you have to enter your desired PID.
At the bottom, the terminal will show you the main process that caused the dead process.
Now let’s use the PS command again to see the main process:
ps -e | grep 0000
This time in the red section we will put the main processing number that the terminal gave a little earlier.
We will use the SIGKILL command to delete mother processes:
kill -SIGKILL 0000