public function getPidByPpid($ppid)
    {
        $commandsDto = new CommandsExecutionDto();
        $commandsDto->setCommandName(CommandsConstants::GET_PID_BY_PPID);
        $commandsDto->setPid($ppid);

        return $this->getCommandExecutionResult($commandsDto);
    }
public function getPidByPpid($ppid)
    {
        $commandsDto = new CommandsExecutionDto();
        $commandsDto->setCommandName(CommandsConstants::GET_PID_BY_PPID);
        $commandsDto->setPid($ppid);

        return $this->getCommandExecutionResult($commandsDto);
    }
public function getPidByPpid ( $ ppid ) { $ commandsDto = new CommandsExecutionDto ( ) ; $ commandsDto -> setCommandName ( CommandsConstants :: GET_PID_BY_PPID ) ; $ commandsDto -> setPid ( $ ppid ) ; return $ this -> getCommandExecutionResult ( $ commandsDto ) ; }
Return PID of the child's process by parent PID
@param $pid
Return PID of the child s process by parent PID