sh(1),limits(1): Document kqueues (-k) rlimit.

This commit is contained in:
Jilles Tjoelker 2013-11-01 13:57:30 +00:00
parent 5212e8bacf
commit d2c068eaac
2 changed files with 14 additions and 5 deletions

View File

@ -32,7 +32,7 @@
.\" from: @(#)sh.1 8.6 (Berkeley) 5/4/95
.\" $FreeBSD$
.\"
.Dd June 14, 2013
.Dd November 1, 2013
.Dt SH 1
.Os
.Sh NAME
@ -2551,7 +2551,7 @@ and not found.
For aliases the alias expansion is printed;
for commands and tracked aliases
the complete pathname of the command is printed.
.It Ic ulimit Oo Fl HSabcdflmnpstuvw Oc Op Ar limit
.It Ic ulimit Oo Fl HSabcdfklmnpstuvw Oc Op Ar limit
Set or display resource limits (see
.Xr getrlimit 2 ) .
If
@ -2598,6 +2598,11 @@ The maximal size of core dump files, in 512-byte blocks.
The maximal size of the data segment of a process, in kilobytes.
.It Fl f Ar filesize
The maximal size of a file, in 512-byte blocks.
.It Fl k Ar kqueues
The maximal number of kqueues
(see
.Xr kqueue 2 )
for this user ID.
.It Fl l Ar lockedmem
The maximal size of memory that can be locked by a process, in
kilobytes.

View File

@ -19,7 +19,7 @@
.\"
.\" $FreeBSD$
.\"
.Dd October 31, 2013
.Dd November 1, 2013
.Dt LIMITS 1
.Os
.Sh NAME
@ -30,11 +30,11 @@
.Op Fl C Ar class | Fl P Ar pid | Fl U Ar user
.Op Fl SHB
.Op Fl ea
.Op Fl bcdflmnstuvpw Op Ar val
.Op Fl bcdfklmnstuvpw Op Ar val
.Nm
.Op Fl C Ar class | Fl U Ar user
.Op Fl SHB
.Op Fl bcdflmnstuvpw Op Ar val
.Op Fl bcdfklmnstuvpw Op Ar val
.Op Fl E
.Oo
.Op Ar name Ns = Ns Ar value ...
@ -207,6 +207,10 @@ resource limit.
Select or set the
.Va filesize
resource limit.
.It Fl k Op Ar val
Select or set the
.Va kqueues
resource limit.
.It Fl l Op Ar val
Select or set the
.Va memorylocked