mirror of
https://github.com/opnsense/src.git
synced 2026-02-18 18:20:26 -05:00
sysctl.3: put KERN_PROC_RLIMIT_USAGE in the right spot
(cherry picked from commit 199a2be029e835c3b284d948e8168af378b06efc)
This commit is contained in:
parent
0ad5308987
commit
81fc946931
1 changed files with 8 additions and 8 deletions
|
|
@ -504,7 +504,6 @@ specifies the current process.
|
|||
.It Dv KERN_PROC_ENV Ta "Set of strings"
|
||||
.It Dv KERN_PROC_AUXV Ta "Elf_Auxinfo []"
|
||||
.It Dv KERN_PROC_RLIMIT Ta "Integer"
|
||||
.It Dv KERN_PROC_RLIMIT_USAGE Ta "rlim_t []"
|
||||
.It Dv KERN_PROC_PS_STRINGS Ta "Integer"
|
||||
.It Dv KERN_PROC_UMASK Ta "Integer/short"
|
||||
.It Dv KERN_PROC_OSREL Ta "Integer"
|
||||
|
|
@ -513,6 +512,7 @@ specifies the current process.
|
|||
.It Dv KERN_PROC_NFDS Ta "Integer"
|
||||
.It Dv KERN_PROC_SIGFASTBLK Ta "Integer"
|
||||
.It Dv KERN_PROC_VM_LAYOUT Ta "struct kinfo_vm_layout"
|
||||
.It Dv KERN_PROC_RLIMIT_USAGE Ta "rlim_t []"
|
||||
.It Dv KERN_PROC_KQUEUE Ta "struct kinfo_knote []"
|
||||
.El
|
||||
.Pp
|
||||
|
|
@ -551,13 +551,6 @@ Additinal OID name element must be supplied, specifiing the resource name
|
|||
as in
|
||||
.Xr getrlimit 2 .
|
||||
The call returns the given resource limit for the process.
|
||||
.It Dv KERN_PROC_RLIMIT_USAGE
|
||||
Like
|
||||
.Dv KERN_PROC_RLIMIT ,
|
||||
but instead of the limit, returns the accounted resource usage.
|
||||
For resources which do not have a meaningful current value,
|
||||
.Li \-1
|
||||
is returned.
|
||||
.It Dv KERN_PROC_PS_STRINGS
|
||||
Returns the location of the
|
||||
.Vt ps_strings
|
||||
|
|
@ -587,6 +580,13 @@ Returns the address of the
|
|||
location, if active.
|
||||
.It Dv KERN_PROC_VM_LAYOUT
|
||||
Fills a structure describing process virtual address space layout.
|
||||
.It Dv KERN_PROC_RLIMIT_USAGE
|
||||
Like
|
||||
.Dv KERN_PROC_RLIMIT ,
|
||||
but instead of the limit, returns the accounted resource usage.
|
||||
For resources which do not have a meaningful current value,
|
||||
.Li \-1
|
||||
is returned.
|
||||
.It Dv KERN_PROC_KQUEUE
|
||||
Fills an array of structures describing events registered with
|
||||
the specified kqueue.
|
||||
|
|
|
|||
Loading…
Reference in a new issue