开发者

Why doesn't OSX Activity Monitor show the processes I started?

I'm using fork and execv to start child processes. If I run htop then I can find those processes. However, OSX Activity Monitor doesn't show them, even if I have it set to show all processes. Why is that?

The S column in htop show Z for all of my processes. What does that mean? Could that have something to do with i开发者_运维百科t?


The Z in htop means the process is a "zombie". This means that the process has completed running and wants to die, but the parent process has not yet called wait() to obtain the child process exit code.

It's possible that the OS X Activity Monitor does not show zombie processes.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜