diff --git a/Pilot/pilotTools.py b/Pilot/pilotTools.py index 8afe0f62..7ac99e65 100644 --- a/Pilot/pilotTools.py +++ b/Pilot/pilotTools.py @@ -832,7 +832,7 @@ def exitWithError(self, errorCode): self.log.info("List of child processes of current PID:") retCode, _outData = self.executeAndGetOutput( - "ps --forest -o pid,%%cpu,%%mem,tty,stat,time,cmd -g %d" % os.getpid() + "ps --forest -o pid,%%cpu,%%mem,tty,stat,time,cmd --ppid %d" % os.getpid() ) if retCode: self.log.error("Failed to issue ps [ERROR %d] " % retCode)