Jump to content

Check status of Service or Application.


thenk83

Recommended Posts

I'm looking to have a page for my intranet site that will allow me to see the status of certain services on the machine that intranet page resides on. Basically Id like to check that status of the follwing services: MySQL, SQL, IIS, etc. Is there a way this can be done in PHP? If there is can somone lead me to the right functions and usage? Thanks.

Link to comment
https://forums.phpfreaks.com/topic/53145-check-status-of-service-or-application/
Share on other sites

if you can use exec/system then yes, if not then your need to create a test script for each, ie connect to the SQL database and select the table to test the SQL, ping the IIS (or even read in a page that only displays the current time, if it displays nothing it failed) etc

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.