Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

monitoring processes on local machine

Status
Not open for further replies.

jimbojames5645

Programmer
Dec 12, 2003
36
US
i am writing a page to monitor some scripts that I am running. I want to be able to make sure they are still running. Is there a better way than running a 'ps aux' and capturing the output? Are there any built in php functions to get info about processes running on the local machine?
 
I don't believe there is. This is probably because PHP is platform agnostic -- it would be hard to build into the language all the different ways to get process info from an OS. It's easy to let the programmer do it in a platform-specific way.

Want the best answers? Ask the best questions: TANSTAAFL!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top