1 --- sysctl.3.orig 2006-08-17 22:44:01.000000000 -0700
2 +++ sysctl.3 2006-08-17 22:45:34.000000000 -0700
7 +Note: Implementation of
9 +-- to print whatever data deemed necessary from the large
13 +) -- is left as an exercise for the reader.
15 The top level names are defined with a CTL_ prefix in
18 The next and subsequent levels down are found in the include files
19 listed here, and described in separate sections below.
21 -.Bl -column CTLXMACHDEPXXX "Next level namesXXXXXX" -offset indent
22 +.Bl -column CTLXMACHDEP "Next level names" -offset indent
23 .It Sy "Name Next level names Description"
24 .It "CTL_DEBUG sys/sysctl.h Debugging"
25 .It "CTL_VFS sys/mount.h File system"
27 .It "CTL_MACHDEP sys/sysctl.h Machine dependent"
28 .It "CTL_NET sys/socket.h Networking"
29 .It "CTL_USER sys/sysctl.h User-level"
30 -.It "CTL_VM vm/vm_param.h Virtual memory"
31 +.It "CTL_VM sys/resources.h Virtual memory (struct loadavg)"
32 +.It "CTL_VM sys/vmmeter.h Virtual memory (struct vmtotal)"
35 For example, the following retrieves the maximum number of processes allowed
37 .It "KERN_PROC_UID A user ID"
38 .It "KERN_PROC_RUID A real user ID"
41 -If the third level name is KERN_PROC_ARGS then the command line argument
42 -array is returned in a flattened form, i.e., zero-terminated arguments
44 -The total size of array is returned.
45 -It is also possible for a process to set its own process title this way.
46 -.Bl -column "Third level nameXXXXXX" "Fourth level is:XXXXXX" -offset indent
47 -.It Sy "Third level name Fourth level is:"
48 -.It "KERN_PROC_ARGS A process ID"
51 Return profiling information about the kernel.
52 If the kernel is not compiled for profiling,
54 definitions for second level network identifiers
56 definitions for third level profiling identifiers
58 +.It In mach/vm_param.h
59 definitions for second level virtual memory identifiers
61 definitions for third level IPv4/IPv6 identifiers and