pstree -p

Category: Administration

pstree -p

Display process tree with PIDs shown

Shows the process tree with each process's PID displayed next to its name.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.