]>
Commit | Line | Data |
---|---|---|
1 | --- sysctl.3.orig 2004-07-02 16:52:10.000000000 -0700 | |
2 | +++ sysctl.3 2004-10-24 17:35:54.000000000 -0700 | |
3 | @@ -182,13 +182,21 @@ | |
4 | } | |
5 | .Ed | |
6 | .Pp | |
7 | +Note: Implementation of | |
8 | +.Fn printkproc | |
9 | +-- to print whatever data deemed necessary from the large | |
10 | +.Vt kinfo_proc | |
11 | +structure ( | |
12 | +.In sysctl.h | |
13 | +) -- is left as an exercise for the reader. | |
14 | +.Pp | |
15 | The top level names are defined with a CTL_ prefix in | |
16 | .In sys/sysctl.h , | |
17 | and are as follows. | |
18 | The next and subsequent levels down are found in the include files | |
19 | listed here, and described in separate sections below. | |
20 | .Pp | |
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" | |
26 | @@ -197,7 +205,8 @@ | |
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)" | |
33 | .El | |
34 | .Pp | |
35 | For example, the following retrieves the maximum number of processes allowed |