diff options
author | ghelmer <ghelmer@FreeBSD.org> | 1999-03-15 15:36:56 +0000 |
---|---|---|
committer | ghelmer <ghelmer@FreeBSD.org> | 1999-03-15 15:36:56 +0000 |
commit | 8abe245fd53d8ae3919ca3d4b0f95d24546dacfa (patch) | |
tree | 4764fa38635732e4eb7178dbf5917b5f20d363c3 /usr.bin/limits/limits.1 | |
parent | 3028a2406c7b5a5af40fe63db14726038646bf97 (diff) | |
download | FreeBSD-src-8abe245fd53d8ae3919ca3d4b0f95d24546dacfa.zip FreeBSD-src-8abe245fd53d8ae3919ca3d4b0f95d24546dacfa.tar.gz |
Reference the sysctl variables related to various limits.
PR: docs/6764
Diffstat (limited to 'usr.bin/limits/limits.1')
-rw-r--r-- | usr.bin/limits/limits.1 | 17 |
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 |