Is it correct that
pstree <pid>
will output all the descendant processes of the given processpstree -s <pid>
will output all the descendant processes and ancestry processes of the given process
How can I get only the ancestry processes of a given process?
Thanks.