Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library
← Back to context

Comment by q2dg

19 hours ago

pstree doesn't answer the why?

3 comments

q2dg

Reply

mathfailure  18 hours ago

No, it does not.

  • tatref  5 hours ago

    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

    • pranshuparmar  3 hours ago

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

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities