summaryrefslogtreecommitdiff
path: root/usr.sbin/pstat/pstat.8
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2007-11-28 16:33:44 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2007-11-28 16:33:44 +0000
commit6f7c3a0e39179d0e37e9891c535f2c5814c88342 (patch)
tree48fdd0bd80be94d8f2ef70df2d2e61a314137837 /usr.sbin/pstat/pstat.8
parent49937de90c40cd165329fbfd7fe3227ba01ad165 (diff)
Be more careful with printf-style formats, and fix a few other niggles
ok tedu
Diffstat (limited to 'usr.sbin/pstat/pstat.8')
-rw-r--r--usr.sbin/pstat/pstat.813
1 files changed, 8 insertions, 5 deletions
diff --git a/usr.sbin/pstat/pstat.8 b/usr.sbin/pstat/pstat.8
index e756f187700..5118802848d 100644
--- a/usr.sbin/pstat/pstat.8
+++ b/usr.sbin/pstat/pstat.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pstat.8,v 1.36 2007/11/28 15:49:11 jmc Exp $
+.\" $OpenBSD: pstat.8,v 1.37 2007/11/28 16:33:43 deraadt Exp $
.\" $NetBSD: pstat.8,v 1.9.4.1 1996/06/02 09:08:17 mrg Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993, 1994
@@ -42,6 +42,7 @@
.Op Fl d Ar format
.Op Fl M Ar core
.Op Fl N Ar system
+.Op Ar symbols
.Sh DESCRIPTION
.Nm
displays open file entry, swap space utilization,
@@ -58,12 +59,14 @@ is specified.
The options are as follows:
.Bl -tag -width Ds
.It Fl d Ar format
-Print the values of symbols using the specified format.
+Print the values of
+.Ar symbols
+using the specified format.
.Ar format
is a
-.Xr printf 3
-format, without the leading percent.
-Symbol names are read from the remaining command line arguments.
+.Xr printf 3 Ns -style
+format, without the leading percent or precision specifiers.
+Symbol named are read from the remaining command line arguments.
Addresses may also be specified in hex.
.It Fl f
Print the open file table with these headings: