Bug 162172

Summary: rctl manpage erroneously lists nproc
Product: Documentation Reporter: Moritz Wilhelmy <moritz>
Component: Books & ArticlesAssignee: freebsd-doc (Nobody) <doc>
Status: Closed FIXED    
Severity: Affects Only Me CC: moritz
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Moritz Wilhelmy 2011-10-30 16:40:07 UTC
	The rctl manpage contains a confusing reference to a tunable called "nproc".
	Since the setting is called maxproc in both login.conf and rctl, this should
	probably be replaced by "maxproc" in order to avoid confusion. (nproc seems
	to be from pam_limits).
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2011-10-31 04:27:09 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-doc

Reclassify as a docs problem.
Comment 2 dfilter service freebsd_committer freebsd_triage 2012-03-01 10:21:25 UTC
Author: trasz
Date: Thu Mar  1 10:21:10 2012
New Revision: 232329
URL: http://svn.freebsd.org/changeset/base/232329

Log:
  Use proper "maxproc" name, not "nproc".
  
  PR:		docs/162172

Modified:
  head/usr.bin/rctl/rctl.8

Modified: head/usr.bin/rctl/rctl.8
==============================================================================
--- head/usr.bin/rctl/rctl.8	Thu Mar  1 08:22:59 2012	(r232328)
+++ head/usr.bin/rctl/rctl.8	Thu Mar  1 10:21:10 2012	(r232329)
@@ -25,7 +25,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd December 22, 2011
+.Dd March 1, 2012
 .Dt RCTL 8
 .Os
 .Sh NAME
@@ -117,8 +117,8 @@ A filter is a rule for which one of more
 For example, a filter that matches every rule could be written as ":::=/",
 or, in short, ":".
 A filter that matches all the login classes would be "loginclass:".
-A filter that matches all defined rules for nproc resource would be
-"::nproc".
+A filter that matches all defined rules for maxproc resource would be
+"::maxproc".
 .Pp
 .Sh RESOURCES
 .Bl -column -offset 3n "pseudoterminals"
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
Comment 3 Edward Tomasz Napierala freebsd_committer freebsd_triage 2012-03-01 10:21:38 UTC
State Changed
From-To: open->closed

Fixed.  Thanks!
Comment 4 dfilter service freebsd_committer freebsd_triage 2012-09-17 12:28:16 UTC
Author: trasz
Date: Mon Sep 17 11:27:56 2012
New Revision: 240599
URL: http://svn.freebsd.org/changeset/base/240599

Log:
  MFC r232329:
  
  Use proper "maxproc" name, not "nproc".
  
  PR:		docs/162172

Modified:
  stable/9/usr.bin/rctl/rctl.8
Directory Properties:
  stable/9/usr.bin/rctl/   (props changed)

Modified: stable/9/usr.bin/rctl/rctl.8
==============================================================================
--- stable/9/usr.bin/rctl/rctl.8	Mon Sep 17 11:21:57 2012	(r240598)
+++ stable/9/usr.bin/rctl/rctl.8	Mon Sep 17 11:27:56 2012	(r240599)
@@ -25,7 +25,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd December 22, 2011
+.Dd March 1, 2012
 .Dt RCTL 8
 .Os
 .Sh NAME
@@ -117,8 +117,8 @@ A filter is a rule for which one of more
 For example, a filter that matches every rule could be written as ":::=/",
 or, in short, ":".
 A filter that matches all the login classes would be "loginclass:".
-A filter that matches all defined rules for nproc resource would be
-"::nproc".
+A filter that matches all defined rules for maxproc resource would be
+"::maxproc".
 .Pp
 .Sh RESOURCES
 .Bl -column -offset 3n "pseudoterminals"
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"