The Little Guy Posted April 4, 2010 Share Posted April 4, 2010 how can you check to see if a process is running or not? I assume I need to use a shell function, but maybe there are already built in php functions for this... Quote Link to comment https://forums.phpfreaks.com/topic/197557-check-if-a-process-is-running/ Share on other sites More sharing options...
premiso Posted April 4, 2010 Share Posted April 4, 2010 The only php functions are for processes that php can start IE: proc_open which you can get status's for that process only. In order to get a list of processes not started by php you would need to use the shell for linux it's ps. Quote Link to comment https://forums.phpfreaks.com/topic/197557-check-if-a-process-is-running/#findComment-1036829 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.