diff --git a/pages/linux/pstree.md b/pages/linux/pstree.md new file mode 100644 index 000000000..ad5ef346b --- /dev/null +++ b/pages/linux/pstree.md @@ -0,0 +1,15 @@ +# pstree + +> A convenient tool to show running processes as a tree. + +- Display a tree of processes: + +`pstree` + +- Display a tree of processes with PIDs: + +`pstree -p` + +- Display all process trees rooted at processes owned by specified user: + +`pstree {{user}}`