proc_get_status()
The proc_get_status() function retrieves information about a process opened by proc_open(). This is useful for monitoring subprocesses.
proc_open()