I was looking for a linux command to find the parent process id. When I use the following command ps- ef | grep jboos
It returns all process ids including chile and some other information. What I am looging for is to filter out child ids and other information and return only parent id. So that calling app can kill all the running processes by just killing parent.
Thanks