CVS commit: src/usr.sbin/kgmon
Module Name:src Committed By: wiz Date: Mon Apr 25 22:46:35 UTC 2011 Modified Files: src/usr.sbin/kgmon: kgmon.8 Log Message: Add option arguments to descriptions. From YOMURA Masanori. To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/usr.sbin/kgmon/kgmon.8 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.sbin/kgmon/kgmon.8 diff -u src/usr.sbin/kgmon/kgmon.8:1.18 src/usr.sbin/kgmon/kgmon.8:1.19 --- src/usr.sbin/kgmon/kgmon.8:1.18 Mon Jun 20 13:25:26 2005 +++ src/usr.sbin/kgmon/kgmon.8 Mon Apr 25 22:46:35 2011 @@ -1,4 +1,4 @@ -.\" $NetBSD: kgmon.8,v 1.18 2005/06/20 13:25:26 peter Exp $ +.\" $NetBSD: kgmon.8,v 1.19 2011/04/25 22:46:35 wiz Exp $ .\" .\" Copyright (c) 1983, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -66,13 +66,15 @@ Enable debug output. .It Fl h Stop the collection of profile data. -.It Fl M -Extract values associated with the name list from the specified core +.It Fl M Ar core +Extract values associated with the name list from the specified +.Ar core instead of the default .Pa /dev/kmem . -.It Fl N -Extract the name list from the specified system instead of the -default +.It Fl N Ar system +Extract the name list from the specified +.Ar system +instead of the default .Pa /netbsd . .It Fl p Dump the contents of the profile buffers into a
CVS commit: src/usr.sbin/kgmon
Module Name:src Committed By: uebayasi Date: Sun Oct 17 16:13:56 UTC 2010 Modified Files: src/usr.sbin/kgmon: kgmon.c Log Message: Typo in a error message. To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src/usr.sbin/kgmon/kgmon.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.sbin/kgmon/kgmon.c diff -u src/usr.sbin/kgmon/kgmon.c:1.24 src/usr.sbin/kgmon/kgmon.c:1.25 --- src/usr.sbin/kgmon/kgmon.c:1.24 Sun Jan 18 09:50:15 2009 +++ src/usr.sbin/kgmon/kgmon.c Sun Oct 17 16:13:56 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: kgmon.c,v 1.24 2009/01/18 09:50:15 lukem Exp $ */ +/* $NetBSD: kgmon.c,v 1.25 2010/10/17 16:13:56 uebayasi Exp $ */ /* * Copyright (c) 1983, 1992, 1993 @@ -39,7 +39,7 @@ #if 0 static char sccsid[] = "from: @(#)kgmon.c 8.1 (Berkeley) 6/6/93"; #else -__RCSID("$NetBSD: kgmon.c,v 1.24 2009/01/18 09:50:15 lukem Exp $"); +__RCSID("$NetBSD: kgmon.c,v 1.25 2010/10/17 16:13:56 uebayasi Exp $"); #endif #endif /* not lint */ @@ -348,7 +348,7 @@ kcountsize, i, kflag ? kvm_geterr(kvp->kd) : strerror(errno)); if ((fwrite(tickbuf, kcountsize, 1, fp)) != 1) - err(EXIT_FAILURE, "writing tocks to gmon.out"); + err(EXIT_FAILURE, "writing ticks to gmon.out"); free(tickbuf); /*