summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.bin/limits/limits.117
1 files changed, 13 insertions, 4 deletions
diff --git a/usr.bin/limits/limits.1 b/usr.bin/limits/limits.1
index fe77d2d..9b3a1ce 100644
--- a/usr.bin/limits/limits.1
+++ b/usr.bin/limits/limits.1
@@ -17,7 +17,7 @@
.\" 5. Modifications may be freely made to this file providing the above
.\" conditions are met.
.\"
-.\" $Id: limits.1,v 1.8 1998/06/04 21:05:58 steve Exp $
+.\" $Id: limits.1,v 1.9 1999/02/12 02:12:06 alex Exp $
.\"
.Dd January 15, 1996
.Dt LIMITS 1
@@ -196,7 +196,11 @@ size limit.
.It Fl n Op Ar limit
Selects or sets the
.Em openfiles
-resource limit.
+resource limit. The system-wide limit on the maximum number of
+open files per process can be viewed using the 'sysctl kern.maxfilesperproc'
+command. The total number of simultaneously open files in the entire
+system is limited to the value displayed by the 'sysctl kern.maxfiles'
+command.
.It Fl s Op Ar limit
Selects or sets the
.Em stacksize
@@ -208,7 +212,11 @@ resource limit.
.It Fl u Op Ar limit
Selects or sets the
.Em maxproc
-resource limit.
+resource limit. The system-wide limit on the maximum number of processes
+allowed per UID can be viewed using the 'sysctl kern.maxprocperuid' command.
+The maximum number of processes that can be running simultaneously
+in the entire system is limited to the value given by
+the 'sysctl kern.maxproc' command.
.Pp
Valid values for 'limit' in the above set of flags consist of either the
string 'infinity' or 'inf' for an infinite (or kernel-defined maximum)
@@ -292,7 +300,8 @@ will be whatever the executed program returns.
.Xr getrlimit 2 ,
.Xr setrlimit 2 ,
.Xr login_cap 3 ,
-.Xr login.conf 5
+.Xr login.conf 5 ,
+.Xr sysctl 8
.Sh BUGS
.Nm Limits
does not handle commands with equal (``='') signs in their
OpenPOWER on IntegriCloud