pstree

Install command:
brew install pstree

Show ps output as a tree

http://www.thp.uni-duisburg.de/pstree/

/api/formula/pstree.json (JSON API)

/api/bottle/pstree.json (Bottle JSON API)

Formula code on GitHub

Bottle (binary package) installation support provided for macOS releases:

Intel big sur
catalina
mojave
high sierra
sierra
el capitan
yosemite
64-bit linux
Apple Silicon big sur

Current versions:

stable 2.39

Analytics:

Installs (30 days)
pstree 1,830
Installs on Request (30 days)
pstree 1,829
Build Errors (30 days)
pstree 0
Installs (90 days)
pstree 6,483
Installs on Request (90 days)
pstree 6,481
Installs (365 days)
pstree 30,255
Installs on Request (365 days)
pstree 30,238
Fork me on GitHub