Skip to content

Commit b5735b5

Browse files
authored
Merge pull request #258 from Robin-Van-de-Merghel/robin-fix-ps
Robin fix ps
2 parents 3568c96 + 00bec8e commit b5735b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Pilot/pilotTools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -832,7 +832,7 @@ def exitWithError(self, errorCode):
832832

833833
self.log.info("List of child processes of current PID:")
834834
retCode, _outData = self.executeAndGetOutput(
835-
"ps --forest -o pid,%%cpu,%%mem,tty,stat,time,cmd -g %d" % os.getpid()
835+
"ps --forest -o pid,%%cpu,%%mem,tty,stat,time,cmd --ppid %d" % os.getpid()
836836
)
837837
if retCode:
838838
self.log.error("Failed to issue ps [ERROR %d] " % retCode)

0 commit comments

Comments
 (0)