Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this questionI 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.
精彩评论