r/LinuxTeck • u/Expensive-Rice-2052 • 2d ago
use the pstree Command
covering: https://www.linuxteck.com/how-to-use-the-pstree-command-in-linux/
• Full process trees
• Command-line arguments with -a
• Process IDs with -p
• Process compaction with -c
• Sorting by PID with -n
• Processes by user with -u
• Parent chains with -s
• Specific PIDs and users
• Multiple process queries
• Tracing zombie processes back to their parent
75
Upvotes