Linux 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. Install pstree
brew install pstree
## On Ubuntu/Debian APT