🖥️pstree

➡️This is a command-line reference manual for commands and command combinations that you don’t use often enough to remember it. This cheatsheet explains the pstree command with important options and switches using examples.

▁ ▂ ▃ ▄ ꧁ 🔴☠ COMMANDLINE-KUNGFU WITH CHEATSHEETS ☠🔴꧂▅ ▃ ▂ ▁

#                ██████╗ ███████╗████████╗██████╗ ███████╗███████╗
#                ██╔══██╗██╔════╝╚══██╔══╝██╔══██╗██╔════╝██╔════╝
#                ██████╔╝███████╗   ██║   ██████╔╝█████╗  █████╗  
#                ██╔═══╝ ╚════██║   ██║   ██╔══██╗██╔══╝  ██╔══╝  
#                ██║     ███████║   ██║   ██║  ██║███████╗███████╗
#                ╚═╝     ╚══════╝   ╚═╝   ╚═╝  ╚═╝╚══════╝╚══════╝
                                                                 
                                                                

pstree -a
# "Tell me about your relationship with your parents."

pstree -p
# This will also show you a process tree, but is more terse in the information it provides

#Display full tree information of a single process
pstree -plants $(pidof -s firefox)

pstree -plants $(pidof -s firefox)
# Display full tree information of a single process

#==============================##==============================#
# CMD PSTREE 
#==============================##==============================#
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░

  █║▌│║█║▌★ KALI ★ PARROT ★ DEBIAN 🔴 PENTESTING ★ HACKING ★ █║▌│║█║▌

              ██╗ ██╗ ██████╗  ██████╗ ██╗  ██╗███████╗██████╗
             ████████╗██╔══██╗██╔═══██╗╚██╗██╔╝██╔════╝██╔══██╗
             ╚██╔═██╔╝██║  ██║██║   ██║ ╚███╔╝ █████╗  ██║  ██║
             ████████╗██║  ██║██║   ██║ ██╔██╗ ██╔══╝  ██║  ██║
             ╚██╔═██╔╝██████╔╝╚██████╔╝██╔╝ ██╗███████╗██████╔╝
              ╚═╝ ╚═╝ ╚═════╝  ╚═════╝ ╚═╝  ╚═╝╚══════╝╚═════╝

               █║▌│║█║▌ WITH COMMANDLINE-KUNGFU POWER █║▌│║█║▌

░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░