diff options
author | Andriy Gapon <avg@FreeBSD.org> | 2018-08-09 11:21:31 +0000 |
---|---|---|
committer | Andriy Gapon <avg@FreeBSD.org> | 2018-08-09 11:21:31 +0000 |
commit | 27cfcd95993f512af6b4a5a5fd764b370e64ef34 (patch) | |
tree | 73eef0a2db99dad16aab70c0d98aae4d4bdd27f5 /share/man/man4/ddb.4 | |
parent | 6402bc3d1e0ee98ee0c04d0130a0c920e9446cbe (diff) |
add an option for ddb ps command to print process arguments
We use ps to collect the information of all processes in textdump. But
it doesn't contain process arguments which however sometimes are very
useful for debugging. The new 'a' modifier adds that capability.
While here, remove 'm' modifier from ddb.4. It was in the manual page
from its very first revision, but I could not find any evidence of the
code ever supporting it.
Submitted by: Terry Hu <thu@panzura.com>
Reviewed by: kib
MFC after: 1 week
Sponsored by: Panzura
Differential Revision: https://reviews.freebsd.org/D16603
Notes
Notes:
svn path=/head/; revision=337528
Diffstat (limited to 'share/man/man4/ddb.4')
-rw-r--r-- | share/man/man4/ddb.4 | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/share/man/man4/ddb.4 b/share/man/man4/ddb.4 index 6c0d1c1cfdf8..aeec111adefe 100644 --- a/share/man/man4/ddb.4 +++ b/share/man/man4/ddb.4 @@ -537,16 +537,15 @@ If the thread is not found, search the thread stack cache and prints the cached stack address. Otherwise, prints nothing. .Pp -.It Ic show Cm all procs Ns Op Li / Ns Cm m -.It Ic ps Ns Op Li / Ns Cm m +.It Ic show Cm all procs Ns Op Li / Ns Cm a +.It Ic ps Ns Op Li / Ns Cm a Display all process information. The process information may not be shown if it is not supported in the machine, or the bottom of the stack of the target process is not in the main memory at that time. The -.Cm m -modifier will alter the display to show VM map -addresses for the process and not show other information. +.Cm a +modifier will print command line arguments for each process. .\" .Pp .It Ic show Cm all trace |