summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorAllan Wirth <wirtha@users.sf.net>2014-03-01 09:09:19 +1100
committerCraig Small <csmall@enc.com.au>2014-03-01 09:21:46 +1100
commit265fa43ee48898001130b90d3656d48af5d241aa (patch)
treecf03b16a06d0f8f46b36c0d5d3701082c96fe06f /doc
parent3638cc55b4d08851faba46635d737b24d016665b (diff)
Full thread display for pstree an option
Commit [9de89a] made pstree show the correct thread names. This had the unintended consequence of making a lot of thread views uncompact, as the names would be different. Allan suggested that if you want to see the real thread names, then explictly ask for them. I agree and pstree now has a new option -t for showing thread names. $ pstree 22603 udisksd───4*[{udisksd}] $ pstree -t 22603 udisksd─┬─{cleanup} ├─{gdbus} ├─{gmain} └─{probing-thread} References: [patches:#33] https://sourceforge.net/p/psmisc/patches/33/ Signed-off-by: Craig Small <csmall@enc.com.au>
Diffstat (limited to 'doc')
-rw-r--r--doc/pstree.15
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/pstree.1 b/doc/pstree.1
index 87add47..5e2cd9e 100644
--- a/doc/pstree.1
+++ b/doc/pstree.1
@@ -6,7 +6,7 @@
.\" the Free Software Foundation; either version 2 of the License, or
.\" (at your option) any later version.
.\"
-.TH PSTREE 1 "2014-01-31" "psmisc" "User Commands"
+.TH PSTREE 1 "2014-03-01" "psmisc" "User Commands"
.SH NAME
pstree \- display a tree of processes
.SH SYNOPSIS
@@ -22,6 +22,7 @@ pstree \- display a tree of processes
.RB [ \-p , \ \-\-show\-pids ]
.RB [ \-s , \ \-\-show\-parents ]
.RB [ \-S , \ \-\-ns-changes ]
+.RB [ \-t , \ \-\-thread-names ]
.RB [ \-u , \ \-\-uid\-changes ]
.RB [ \-Z , \ \-\-security\-context ]
.RB [ \-A , \ \-\-ascii , \ \-G , \ \-\-vt100 , \ \-U , \ \-\-unicode ]
@@ -138,6 +139,8 @@ Show parent processes of the specified process.
.IP \fB\-S\fP
Show namespaces transitions. Like \-N, the output is limited when running
as a regular user.
+.IP \fB\-t\fP
+Show full names for threads when available.
.IP \fB\-u\fP
Show uid transitions. Whenever the uid of a process differs from the
uid of its parent, the new uid is shown in parentheses after the