pstree

A convenient tool to show running processes as a tree. More information: <https://manned.org/pstree>.

Install

All systems
curl cmd.cat/pstree.sh
Debian Debian
apt-get install psmisc
Ubuntu
apt-get install psmisc
Alpine
apk add psmisc
Arch Arch Linux
pacman -S psmisc
image/svg+xml Kali Linux
apt-get install psmisc
CentOS
yum install psmisc
Fedora
dnf install psmisc
Windows (WSL2)
sudo apt-get update sudo apt-get install psmisc
OS X
brew install pstree
Raspbian
apt-get install psmisc
Docker
docker run cmd.cat/pstree pstree powered by Commando

A convenient tool to show running processes as a tree. More information: <https://manned.org/pstree>.

  • Display a tree of processes:
    pstree
  • Display a tree of processes with PIDs:
    pstree -p
  • Display all process trees rooted at processes owned by specified user:
    pstree user

© tl;dr; authors and contributors