开发者

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

开发者 https://www.devze.com 2023-02-18 23:56 出处:网络
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. 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

精彩评论

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

关注公众号