Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sbin/sysctl kern.hashstat takes too long and it is meaningle...
details: https://anonhg.NetBSD.org/src/rev/db09fc1284d5
branches: trunk
changeset: 1029247:db09fc1284d5
user: christos <christos%NetBSD.org@localhost>
date: Tue Dec 28 16:06:57 2021 +0000
description:
kern.hashstat takes too long and it is meaningless here.
diffstat:
sbin/sysctl/sysctl.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 8c62a5d074dd -r db09fc1284d5 sbin/sysctl/sysctl.c
--- a/sbin/sysctl/sysctl.c Tue Dec 28 15:48:59 2021 +0000
+++ b/sbin/sysctl/sysctl.c Tue Dec 28 16:06:57 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sysctl.c,v 1.162 2019/08/18 04:10:22 kamil Exp $ */
+/* $NetBSD: sysctl.c,v 1.163 2021/12/28 16:06:57 christos Exp $ */
/*-
* Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -68,7 +68,7 @@
#if 0
static char sccsid[] = "@(#)sysctl.c 8.1 (Berkeley) 6/6/93";
#else
-__RCSID("$NetBSD: sysctl.c,v 1.162 2019/08/18 04:10:22 kamil Exp $");
+__RCSID("$NetBSD: sysctl.c,v 1.163 2021/12/28 16:06:57 christos Exp $");
#endif
#endif /* not lint */
@@ -191,6 +191,7 @@
{ "/kern/boottime", kern_boottime, NULL, NULL },
{ "/kern/consdev", kern_consdev, NULL, NULL },
{ "/kern/cp_time(/[0-9]+)?", kern_cp_time, NULL, NULL },
+ { "/kern/hashstat", printother, NULL, "vmstat -H" },
{ "/kern/sysvipc_info", printother, NULL, "ipcs" },
{ "/kern/cp_id(/[0-9]+)?", kern_cp_id, NULL, NULL },
Home |
Main Index |
Thread Index |
Old Index