hi my 1st question on here so be gentle with me. i want to be able to shut down a running process via a web page with a given PID, then run a script to start up the process again from buttons/links located on the web site, the web site is also located on the same linux box. can this be done? via php,dhtml or any web based language. basically i've got 3 game servers located on my linux box, with pid 1000 and 1001 and 1002 for instance. at time i need to shutdown these servers/processes and restart them using a different startup script.sh but i want to allow users to log onto a passworded website. with buttons/links on that will allow them to startup and shutdown these servers from anywhere at the click of a button. any ideas, if this can be done or is there any software out there that might do this or something similar......
hi my 1st question on here so be gentle with me. i want to be able to shut down a running process via a web page with a given PID, then run a script to start up the process again from buttons/links located on the web site, the web site is also located on the same linux box. can this be done? via php,dhtml or any web based language.
basically i've got 3 game servers located on my linux box, with pid 1000 and 1001 and 1002 for instance.
at time i need to shutdown these servers/processes and restart them using a different startup script.sh
but i want to allow users to log onto a passworded website. with buttons/links on that will allow them to startup and shutdown these servers from anywhere at the click of a button.
any ideas, if this can be done or is there any software out there that might do this or something similar......
This seems like overkill, but you can look at webmin (www.webmin.com) If you check the standard modules there is a "Running Processes" module that allows you to list, start, and kill processes. Not sure if you can config it to only list your game server processes though. If your game servers are running as the same process as your web server, I guess you could also write a quick PhP script or something could do it... Josh
----- Original Message ----- From: "sparkz" <sparkz@breathemail.net> To: <suse-linux-e@suse.com> Sent: Thursday, February 27, 2003 1:47 PM Subject: [SLE] remote acces via web page hi my 1st question on here so be gentle with me. i want to be able to shut down a running process via a web page with a given PID, then run a script to start up the process again from buttons/links located on the web site, the web site is also located on the same linux box. can this be done? via php,dhtml or any web based language. basically i've got 3 game servers located on my linux box, with pid 1000 and 1001 and 1002 for instance. at time i need to shutdown these servers/processes and restart them using a different startup script.sh but i want to allow users to log onto a passworded website. with buttons/links on that will allow them to startup and shutdown these servers from anywhere at the click of a button. any ideas, if this can be done or is there any software out there that might do this or something similar..... ------------------------------------------ Don't know if this helps but if you study the web page written to restart samba you might get clues on how to implement it. __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com
On Thursday 27 February 2003 05:47, sparkz wrote:
hi my 1st question on here so be gentle with me. i want to be able to shut down a running process via a web page with a given PID, then run a script to start up the process again from buttons/links located on the web site, the web site is also located on the same linux box. can this be done? via php,dhtml or any web based language.
Have you looked at Webmin? MIght be a bit more than than what you are looking for, but you don't have to write anything. Heck, it's probably already installed on your system. http://www.webmin.com/ brian -- Brian Jackson Photo http://www.brianjacksonphoto.com Action Athletics "Sports Photography for You" http://www.actionathletics.com
participants (4)
-
brian jackson
-
Josh Trutwin
-
Linux World 999
-
sparkz