开发者

Linux "top": how to tell which process is what? [closed]

Closed. This question is off-topic. It is not currently accepting answers.

Want to improve this question? Update the question so it's on-topic for Stack Overflow.

Closed 11 years ago.

Improve this question

I have several cron jobs (calling my PHP scripts via curl) in the background that are running. I'm trying to monitor their performance. Using top, I see a bunch of httpd commands -- but I have a feeling these do not represent the cron jobs (e.g. too many httpd exit for the cron tasks being ca开发者_C百科lled).

How can I know what the httpd processes are for sure? Are there any other tools I should be looking at to monitor my system?


What you want is to look in /proc/[pid]/status.


You can get a hierarchically overview about your running processes with ps efaux or pstree -A -p
Maybe that helps.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜