Linux

pstree -pl

ps -ejH

ps auxf

Solaris

ptree

HPUX

ptree