So, I’ve been looking into how process control works in GNU/Linux environments, and I thought I’d share some stuff with you guys since you totally care.
- This post on informIT explains how processes die in Linux.
- This is an article (it’s a part of some actual documentation) about signals and signal handling, but it also covers a bit of
ptrace()
and how to properly handle child processes andSIGCHLD
. - This article is from the same site as the previous one, but it covers process control. I really appreciated how this one went into depth about how the exit status works with processes exiting, and also how it went into zombies and how they work.
That’s all I have for now. Please use the comments section if you’d like to suggest additional articles.