Help for this page
Select Code to Download
Select
or
download this
ps -o ppid= -p $pid