public function getRunningPID() {
        if (!file_exists($this->pidFile)) {
            return false;
        }

        $runPid = trim(file_get_contents($this->pidFile));
        if (!$runPid) {
            return false;
        }

        return $runPid;
    }
public function getRunningPID() {
        if (!file_exists($this->pidFile)) {
            return false;
        }

        $runPid = trim(file_get_contents($this->pidFile));
        if (!$runPid) {
            return false;
        }

        return $runPid;
    }
public function getRunningPID ( ) { if ( ! file_exists ( $ this -> pidFile ) ) { return false ; } $ runPid = trim ( file_get_contents ( $ this -> pidFile ) ) ; if ( ! $ runPid ) { return false ; } return $ runPid ; }
Get agent pid

@return integer|false
Get agent pid