PXTREE(1)
π PXTREE(1) π
okay so bestie, welcome to section 1 of the General Commands Manual, aka the place where the real ones live. this is pxtree, and it's about to become your new obsession π«Ά
β¨ NAME β¨
pxtree β display running processes in a tree π³
π SYNOPSIS π
pxtree [--debug] [SEARCH]
πΈ DESCRIPTION πΈ
pxtree lists all your running processes, but make it a tree. iconic behaviour, honestly.
Every process name gets its PID right after it, chillin' in parentheses. and if like, multiple processes are literally wearing the same name? they get coalesced into ONE entry, marked with (3Γ) in bold β where that 3 is the number of duplicates. so if you see (3Γ), that's three lil guys stacked into one line. slay π
The optional SEARCH parameter can be any of these:
- A PID (Process ID)
- A process name, or even just part of one
- A user name
Any search hits get highlighted in bold β¨ and β this is the bestie part β all the parents and children of all search hits will always be listed. no orphans left behind, fr fr π₯Ή
Now, about --debug: with that flag, extra log messages are sometimes printed after pxtree finishes. not always! sometimes! don't come for me, that's literally what it says π
π¦ PROCESS NAMING π¦
pxtree tries to be helpful about naming processes, and it actively avoids printing the names of various VMs. because who wants to see java forty times, right? π
for example, if you run:
java -jar foo.jar
pxtree will show that process as foo.jar rather than java. so much cleaner, so much more main character energy π
π SEE ALSO π
π HOMEPAGE π
pxtree lives at http://github.com/walles/px β go say hi π π
and that's a wrap, bestie! this page came to you from Debian, dated October 2, 2023 β so go forth, run pxtree, and vibe check your process tree π³β¨ periodt.
π¦ where this page comes from
- debian trixie: px 3.6.9-1 Β· MIT
- ubuntu resolute: px 3.6.9-1 Β· MIT
- ubuntu stonking: px 3.6.12-2.1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms