kernel/private/classes/ezpcontentpublishingprocess.php
public function isAlive()
    {
        if ( $this->attribute( 'status' ) != self::STATUS_WORKING )
            throw new Exception( 'The process\'s status isn\'t \'working\'' );

        // sending 0 only checks if the process is alive (and if the current process is allowed to send signals to it)
        $return = ( posix_kill( $this->attribute( 'pid' ), 0 ) === true );
        return $return;
    }
public function isAlive()
    {
        if ( $this->attribute( 'status' ) != self::STATUS_WORKING )
            throw new Exception( 'The process\'s status isn\'t \'working\'' );

        // sending 0 only checks if the process is alive (and if the current process is allowed to send signals to it)
        $return = ( posix_kill( $this->attribute( 'pid' ), 0 ) === true );
        return $return;
    }
public function isAlive ( ) { if ( $ this -> attribute ( 'status' ) != self :: STATUS_WORKING ) throw new Exception ( 'The process\'s status isn\'t \'working\'' ) ; // sending 0 only checks if the process is alive (and if the current process is allowed to send signals to it) $ return = ( posix_kill ( $ this -> attribute ( 'pid' ) , 0 ) === true ) ; return $ return ; }
Checks if the system process is running

@return bool
@throws Exception if the process isn't in WORKING status
Checks if the system process is running