We would like to check if a specified process is currently running via PHP.
We would like to simply supply a PID and see if it is currently executing or not.
i have done a script for this, which im using in wordpress to show game-server status, but this will work with all running process on the server
1) {
echo "$string: RUNNING
";
}
else {
echo "$string: DOWN
";
}
}
}
//Beispiel "Text zum anzeigen", "Prozess Name auf dem Server"
server_status("Running With Rifles","rwr_server");
server_status("Starbound","starbound_server");
server_status("Minecraft","minecarf");
?>
more information here http://umbru.ch/?p=328