Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to monitor a php process activity because sometime it keeps hanging there for a day although I have set time limit but it seems like its not working. I setup a cron job which runs this PHP application.

I tried to attach process from WHM but its not showing me any relevant info except following string

clock_gettime(CLOCK_MONOTONIC, {146528, 951364448}) = 0

Any clue how to monitor process activity?

share|improve this question

Look into strace - there's a lot of good documentation and even Youtube videos surrounding troubleshooting this behavior.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.