diff options
author | Otto Moerbeek <otto@cvs.openbsd.org> | 2008-09-18 08:02:54 +0000 |
---|---|---|
committer | Otto Moerbeek <otto@cvs.openbsd.org> | 2008-09-18 08:02:54 +0000 |
commit | bb6516b05049f5f0abe5feb8963942df6c8b8373 (patch) | |
tree | 3ec98236b4c5f2fd0584961f51039e03707205d1 | |
parent | 7969b407c21a112fd87eb69c67d071c9d409ee14 (diff) |
document -A and include in usage
-rw-r--r-- | usr.sbin/procmap/procmap.1 | 6 | ||||
-rw-r--r-- | usr.sbin/procmap/procmap.c | 4 |
2 files changed, 6 insertions, 4 deletions
diff --git a/usr.sbin/procmap/procmap.1 b/usr.sbin/procmap/procmap.1 index 56f71c1438e..abcacba0f1f 100644 --- a/usr.sbin/procmap/procmap.1 +++ b/usr.sbin/procmap/procmap.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: procmap.1,v 1.9 2008/06/26 05:42:21 ray Exp $ +.\" $OpenBSD: procmap.1,v 1.10 2008/09/18 08:02:53 otto Exp $ .\" $NetBSD: pmap.1,v 1.6 2003/01/19 21:25:43 atatat Exp $ .\" .\" Copyright (c) 2002 The NetBSD Foundation, Inc. @@ -28,7 +28,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: June 26 2008 $ +.Dd $Mdocdate: September 18 2008 $ .Dt PROCMAP 1 .Os .Sh NAME @@ -65,6 +65,8 @@ then information for the kernel's memory map is printed. .Pp The options are as follows: .Bl -tag -width XXXnumberXX +.It Fl A +Print more detailed information on anonymous map usage. .It Fl a Display .Dq all diff --git a/usr.sbin/procmap/procmap.c b/usr.sbin/procmap/procmap.c index 93e1f040b5f..89c6db2ccf2 100644 --- a/usr.sbin/procmap/procmap.c +++ b/usr.sbin/procmap/procmap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: procmap.c,v 1.30 2008/09/18 07:50:39 art Exp $ */ +/* $OpenBSD: procmap.c,v 1.31 2008/09/18 08:02:53 otto Exp $ */ /* $NetBSD: pmap.c,v 1.1 2002/09/01 20:32:44 atatat Exp $ */ /* @@ -989,7 +989,7 @@ static void __dead usage(void) { extern char *__progname; - fprintf(stderr, "usage: %s [-adlmPsv] [-D number] " + fprintf(stderr, "usage: %s [-AadlmPsv] [-D number] " "[-M core] [-N system] [-p pid] [pid ...]\n", __progname); exit(1); |