Nov 22, 2017

Show Linux pid and the parent process id

ps xao pid,ppid,comm
This will show the pid and the parent process id as well as the command that triggered the process.