View Single Post
  #1   (View Single Post)  
Old 20th January 2009
biscuits biscuits is offline
Port Guard
 
Join Date: Oct 2008
Posts: 10
Default See processes on other servers?

Got a project im working on at the moment which involves a webpage on one server that needs to query 3 other servers to make sure all their processes (ie apache, postgres etc) are up and running okay (+ other stuff but thats inconsequential at this point).

I'm using PHP's exec() command to query the local FreeBSD OS for all relevant information needed for the "status" webpage im building, and all servers have passkeys (? if thats what you'd call them) so they can automatically ssh with each other without a password prompt.

My only problem now is: How would one FreeBSD machine query another FreeBSD machine to see if a process is running?

Any ideas or am I attempting the near impossible here?

Cheers,
Dave.
Reply With Quote