diff options
author | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 2002-06-08 23:32:15 +0000 |
---|---|---|
committer | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 2002-06-08 23:32:15 +0000 |
commit | 5b2d0bde6cf03a806483d0bcbf0cfee8b34b8d1d (patch) | |
tree | 52cfef0fc4a8bfd556df0f2feff34eac6d68351a | |
parent | 6fd6ac7c26ce71d8b27875006335139b9b419143 (diff) |
TTYCOUNT and NUMVNODES
-rw-r--r-- | sys/sys/sysctl.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/sys/sysctl.h b/sys/sys/sysctl.h index 13adc395d41..1557f870217 100644 --- a/sys/sys/sysctl.h +++ b/sys/sys/sysctl.h @@ -1,4 +1,4 @@ -/* $OpenBSD: sysctl.h,v 1.51 2002/06/08 23:16:03 angelos Exp $ */ +/* $OpenBSD: sysctl.h,v 1.52 2002/06/08 23:32:14 angelos Exp $ */ /* $NetBSD: sysctl.h,v 1.16 1996/04/09 20:55:36 cgd Exp $ */ /* @@ -170,7 +170,9 @@ struct ctlname { #define KERN_SPLASSERT 54 /* int: splassert */ #define KERN_PROC_ARGS 55 /* node: proc args and env */ #define KERN_NFILES 56 /* int: number of open files */ -#define KERN_MAXID 57 /* number of valid kern ids */ +#define KERN_TTYCOUNT 57 /* int: number of tty devices */ +#define KERN_NUMVNODES 58 /* int: number of vnodes in use */ +#define KERN_MAXID 59 /* number of valid kern ids */ #define CTL_KERN_NAMES { \ { 0, 0 }, \ @@ -230,6 +232,8 @@ struct ctlname { { "splassert", CTLTYPE_INT }, \ { "procargs", CTLTYPE_NODE }, \ { "nfiles", CTLTYPE_INT }, \ + { "ttycount", CTLTYPE_INT }, \ + { "numvnodes", CTLTYPE_INT }, \ } /* |