21
votes
6answers
40k views

How to get parent PID of a given process in GNU/Linux from command line?

Resolved before asked: cat /proc/1111/status | grep PPid