pstree

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

Debian Debian
RUN apt-get update && \ apt-get install -y psmisc
Ubuntu
RUN apt-get update && \ apt-get install -y psmisc
Alpine
RUN apk add psmisc
Arch Arch Linux
RUN pacman -S --noconfirm psmisc
image/svg+xml Kali Linux
RUN apt-get update && \ apt-get install -y psmisc
CentOS
RUN yum install -y psmisc
Fedora
RUN dnf install -y psmisc
Raspbian
RUN apt-get update && \ apt-get install -y psmisc
click the source code to copy install pstree on any operating system with command-not-found.com