diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2005-07-20 16:56:13 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2005-07-20 16:56:13 +0000 |
commit | 3c0c6427a9b74bb6891982721fd347873e71058f (patch) | |
tree | 09c00bbea9d05576f15410b7d61d8b4e76fd27b7 /sbin/sysctl | |
parent | b5c8e24b0e2e23f5240084b85731639add03c4b9 (diff) |
Print the last two kern.nchstats entries.
Diffstat (limited to 'sbin/sysctl')
-rw-r--r-- | sbin/sysctl/sysctl.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/sbin/sysctl/sysctl.c b/sbin/sysctl/sysctl.c index ed86c50f01f..4905fe7faa4 100644 --- a/sbin/sysctl/sysctl.c +++ b/sbin/sysctl/sysctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sysctl.c,v 1.122 2005/05/24 04:20:26 markus Exp $ */ +/* $OpenBSD: sysctl.c,v 1.123 2005/07/20 16:56:12 miod Exp $ */ /* $NetBSD: sysctl.c,v 1.9 1995/09/30 07:12:50 thorpej Exp $ */ /* @@ -40,7 +40,7 @@ static const char copyright[] = #if 0 static const char sccsid[] = "@(#)sysctl.c 8.5 (Berkeley) 5/9/95"; #else -static const char rcsid[] = "$OpenBSD: sysctl.c,v 1.122 2005/05/24 04:20:26 markus Exp $"; +static const char rcsid[] = "$OpenBSD: sysctl.c,v 1.123 2005/07/20 16:56:12 miod Exp $"; #endif #endif /* not lint */ @@ -1559,6 +1559,12 @@ sysctl_nchstats(char *string, char **bufpp, int mib[], int flags, int *typep) case KERN_NCHSTATS_2PASSES: (void)printf("%ld\n", nch.ncs_2passes); break; + case KERN_NCHSTATS_REVHITS: + (void)printf("%ld\n", nch.ncs_revhits); + break; + case KERN_NCHSTATS_REVMISS: + (void)printf("%ld\n", nch.ncs_revmiss); + break; } return (-1); } |