3 ms·
> Crash detection is implemented by parsing the output of `ps` Would there be anything to be gained by actually rooting around in /proc yourselves, rather than
by davidw 12y ago
> Crash detection is implemented by parsing the output of `ps`
Would there be anything to be gained by actually rooting around in /proc yourselves, rather than relying on ps?
- FooBarWidget 12y agoPs is implemented by parsing /proc, so the results you get are the same. Having said that, /proc/xxx/status does contain a flag that tells you whether a process is a zombie or not. So on Linux, Phusion Passenger parses that file as an extra check. But not all software does this.