From 90861a9b3594074ac7d21d8fe8752b2df01587d6 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Mon, 11 Aug 2025 05:10:42 -0400 Subject: kernel: sysctl: Add 'proc.count' entry Introduce the 'proc.count' sysctl variable which contains the number of running processes in the system. Signed-off-by: Ian Moffett --- sys/include/sys/sysctl.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'sys/include') diff --git a/sys/include/sys/sysctl.h b/sys/include/sys/sysctl.h index 3b8d3c7..ce7510d 100644 --- a/sys/include/sys/sysctl.h +++ b/sys/include/sys/sysctl.h @@ -55,6 +55,11 @@ #define HW_NCPU 6 #define HW_MACHINE 7 +/* + * List of 'proc.*' identifiers + */ +#define PROC_COUNT 8 + /* * Option types (i.e., int, string, etc) for * sysctl entries. -- cgit v1.2.3