summaryrefslogtreecommitdiffstats
path: root/usr.bin/procstat/procstat.1
diff options
context:
space:
mode:
authorallanjude <allanjude@FreeBSD.org>2015-09-05 17:02:01 +0000
committerallanjude <allanjude@FreeBSD.org>2015-09-05 17:02:01 +0000
commit4a886231b3f578533eaf99ac27441dfb0416ea4d (patch)
tree4806bed030076ad0f4a32b484130a17d3ddf5b58 /usr.bin/procstat/procstat.1
parent791763d67eb51025beffc834681487f187ffc283 (diff)
downloadFreeBSD-src-4a886231b3f578533eaf99ac27441dfb0416ea4d.zip
FreeBSD-src-4a886231b3f578533eaf99ac27441dfb0416ea4d.tar.gz
Introduce libxo to procstat(1)
Reviewed by: rodrigc, bapt Approved by: marcel (mentor) Relnotes: yes Sponsored by: ScaleEngine Inc. Differential Revision: https://reviews.freebsd.org/D2446
Diffstat (limited to 'usr.bin/procstat/procstat.1')
-rw-r--r--usr.bin/procstat/procstat.125
1 files changed, 18 insertions, 7 deletions
diff --git a/usr.bin/procstat/procstat.1 b/usr.bin/procstat/procstat.1
index 0fd314f..68aaaee 100644
--- a/usr.bin/procstat/procstat.1
+++ b/usr.bin/procstat/procstat.1
@@ -25,7 +25,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd May 18, 2015
+.Dd September 5, 2015
.Dt PROCSTAT 1
.Os
.Sh NAME
@@ -33,6 +33,7 @@
.Nd get detailed process information
.Sh SYNOPSIS
.Nm
+.Op Fl -libxo
.Op Fl CHhn
.Op Fl w Ar interval
.Op Fl b | c | e | f | i | j | k | l | r | s | S | t | v | x
@@ -52,6 +53,13 @@ By default, basic process statistics are printed; one of the following
options may be specified in order to select more detailed process information
for printing:
.Bl -tag -width indent
+.It Fl -libxo
+Generate output via
+.Xr libxo 3
+in a selection of different human and machine readable formats.
+See
+.Xr xo_parse_args 3
+for details on command line arguments.
.It Fl b
Display binary information for the process.
.It Fl c
@@ -531,16 +539,19 @@ auxiliary vector value
.Xr cap_enter 2 ,
.Xr cap_rights_limit 2 ,
.Xr libprocstat 3 ,
+.Xr libxo 3 ,
+.Xr xo_parse_args 3 ,
.Xr ddb 4 ,
.Xr stack 9
.Sh AUTHORS
-.An Robert N M Watson
+.An Robert N M Watson Aq Mt rwatson@FreeBSD.org .
+.br
+.Xr libxo 3
+support was added by
+.An -nosplit
+Allan Jude
+.Aq Mt allanjude@FreeBSD.org .
.Sh BUGS
-Some field values may include spaces, which limits the extent to which the
-output of
-.Nm
-may be mechanically parsed.
-.Pp
The display of open file or memory mapping pathnames is implemented using the
kernel's name cache.
If a file system does not use the name cache, or the path to a file is not in
OpenPOWER on IntegriCloud