Here is another tiny rc script
It is an extended version of pstree. (Behaves more like solaris ptree)
It takes an option -(p|c), given -p <pid>, it prints the parents of the pid. Given -c <pid>, it prints the children in a tree form. Would appreciate any feed back.
ps:
let me know if I am flooding the list.