Jump to content

Displaying running system processes within php


mattp1992

Recommended Posts

Hi all,

 

I have been working on an intranet website for some time now, one of the features I have been working on is a very simple Game Server Control Panel, the panel simply Starts, Stops and restarts servers via the System command, executing .bat files on the server.

 

All this is working perfectly, however what I am wanting to know is if it is possible to make a function so a user knows if a particular server is running? My thoughts are a Green Tick would be displayed next to the name of the server, telling the user the server is running, alternatively, a red cross would be displayed if the server is not running... Not really sure how difficult this would be, I assume some sort of query could be created requesting if a particular windows process is running, then the output would be an IF statement.... Any Advice?

 

I have attached a picture below of the site just to give people an idea of what it looks like

 

Thanks in advance!

 

 

 

 

[attachment deleted by admin]

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.