Closed
Description
From l.vbo...@gmail.com on February 16, 2009 23:02:35
As a new feature, it would be nice to get the process parent as a psutil class.
Example:
>>> parent = psutil.parent(os.getpid())
>>> parent.pid
11038
>>> parentPID = psutil.Process(11038).parent.pid
>>> parentPID
1
Thank you.
Original issue: http://code.google.com/p/psutil/issues/detail?id=11