From bfb5d34af96ed2ade035b1ef0d21e0a98d781518 Mon Sep 17 00:00:00 2001 From: Max Xu Date: Sun, 22 Oct 2017 20:05:47 +0800 Subject: [PATCH 1/3] pstree: add page --- pages/linux/pstree.md | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 pages/linux/pstree.md diff --git a/pages/linux/pstree.md b/pages/linux/pstree.md new file mode 100644 index 000000000..f791af329 --- /dev/null +++ b/pages/linux/pstree.md @@ -0,0 +1,11 @@ +# pstree + +> A convinient tool to show running processes as a tree. + +- Display a tree of processes: + +`pstree` + +- Display a tree of processes with PIDs: + +`pstree -p` From f93cb7e504da0678a42b98ecaaba978f52f96a6b Mon Sep 17 00:00:00 2001 From: Max Xu Date: Tue, 24 Oct 2017 10:21:29 +0800 Subject: [PATCH 2/3] Update pstree.md --- pages/linux/pstree.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pages/linux/pstree.md b/pages/linux/pstree.md index f791af329..7237d0ad6 100644 --- a/pages/linux/pstree.md +++ b/pages/linux/pstree.md @@ -1,6 +1,6 @@ # pstree -> A convinient tool to show running processes as a tree. +> A convenient tool to show running processes as a tree. - Display a tree of processes: @@ -9,3 +9,8 @@ - Display a tree of processes with PIDs: `pstree -p` + +- Display all process trees rooted at processes owned by specified user: + +`pstree {{user}}` + From 1bc1737d2b71b07a16fa661d8a3875249f1b8aee Mon Sep 17 00:00:00 2001 From: Max Xu Date: Tue, 24 Oct 2017 10:23:13 +0800 Subject: [PATCH 3/3] Update pstree.md --- pages/linux/pstree.md | 1 - 1 file changed, 1 deletion(-) diff --git a/pages/linux/pstree.md b/pages/linux/pstree.md index 7237d0ad6..ad5ef346b 100644 --- a/pages/linux/pstree.md +++ b/pages/linux/pstree.md @@ -13,4 +13,3 @@ - Display all process trees rooted at processes owned by specified user: `pstree {{user}}` -