Exemplo n.º 1
0
 private static function isProcessRunning($pid)
 {
     $output = ServiceManager::process("find {$pid}");
     return strtolower(trim($output[0])) == 'false' ? false : true;
 }