Hacker News new | ask | show | jobs
by q2dg 177 days ago
pstree doesn't answer the why?
1 comments

No, it does not.
I'm on mobile, so it's not super easy to read the source, but it seems like it only checks for the parent processes?

Also I don't think this approach works correctly, because a disowned/nohup process will show up as PPID 1 (systemd), which is not correct

Yes, this is a bug. Planning to fix it soon.