pstree shows running processes as a tree. The tree is rooted at either pid or init if pid is omitted. If a user name is specified, all process trees rooted at processes owned by that user are shown.
Examples and usage: Show All Running Processes in Linux
Don’t Miss Any Linux Tips
Get nixCraft in your inbox. It's free: