No more existing process still accept kill -0
Issue
In order to synchronize two processes, kill -0 signal is used, but also if the precess is no more shown by ps -ef command nor in the /proc directory, the kill command does not return 0 in $?.
The process ID is 8372 but , also if the ls /proc doesn't show the directory, it is accessible via cd /proc/8372 .
Environment
- Red Hat Enterprise Linux 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.