Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Oct 2023 09:05:15 GMT
From:      Benedict Reuschling <bcr@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 07b2c79cc6c7 - main - Correct the example: use maxproc instead of nonexistent nproc
Message-ID:  <202310060905.39695FCI059375@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by bcr:

URL: https://cgit.FreeBSD.org/src/commit/?id=07b2c79cc6c782ae57b6287688338d0ac3941e66

commit 07b2c79cc6c782ae57b6287688338d0ac3941e66
Author:     Benedict Reuschling <bcr@FreeBSD.org>
AuthorDate: 2023-10-06 09:02:30 +0000
Commit:     Benedict Reuschling <bcr@FreeBSD.org>
CommitDate: 2023-10-06 09:02:30 +0000

    Correct the example: use maxproc instead of nonexistent nproc
    
    Reported by:    dewayne@heuristicsystems.com.au
    PR:             272357
    Differential Revision:  https://reviews.freebsd.org/D40885
---
 share/man/man5/rctl.conf.5 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/share/man/man5/rctl.conf.5 b/share/man/man5/rctl.conf.5
index 4f48b197214a..bf64e54fc567 100644
--- a/share/man/man5/rctl.conf.5
+++ b/share/man/man5/rctl.conf.5
@@ -23,7 +23,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.Dd April 14, 2011
+.Dd October 6, 2023
 .Dt RCTL.CONF 5
 .Os
 .Sh NAME
@@ -61,7 +61,7 @@ To limit the number of processes for users in login class "testing",
 use a rule like
 .Bd -literal -offset indent
 # Resource limits for the "testing" class.
-loginclass:testing:nproc:deny=100/user # At most 100 processes per user
+loginclass:testing:maxproc:deny=100/user # At most 100 processes per user
 .Ed
 .Sh SEE ALSO
 .Xr rctl 8



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202310060905.39695FCI059375>