Date: Fri, 21 Jan 2011 16:23:10 GMT From: Edward Tomasz Napierala <trasz@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 188033 for review Message-ID: <201101211623.p0LGNAqi074520@skunkworks.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://p4web.freebsd.org/@@188033?ac=10 Change 188033 by trasz@trasz_victim on 2011/01/21 16:22:37 Add manual page for userstat(8). Affected files ... .. //depot/projects/soc2009/trasz_limits/usr.bin/rctl/rctl.8#2 edit .. //depot/projects/soc2009/trasz_limits/usr.bin/userstat/Makefile#2 edit .. //depot/projects/soc2009/trasz_limits/usr.bin/userstat/userstat.8#1 add Differences ... ==== //depot/projects/soc2009/trasz_limits/usr.bin/rctl/rctl.8#2 (text+ko) ==== @@ -25,7 +25,7 @@ .\" .\" $FreeBSD$ .\" -.Dd August 3, 2009 +.Dd February 13, 2011 .Dt RCTL 8 .Os .Sh NAME @@ -98,17 +98,17 @@ the defined action triggers. .Pp The per field defines what entity the limit gets accounted for. -For example, rule "loginclass:users:memoryuse:deny=100M/process" means -that each process of any user belonging to login class "users" may use up to 100MB -of memory. -Rule "loginclass:users:memoryuse:deny=100M/user" would mean that the sum of -memory used by all processes of any user belonging to the login class "users" -will not exceed 100MB. -Rule "loginclass:users:memoryuse:deny=100M/loginclass" would mean that the sum of -memory used by all processes of all users belonging to that login class will -not exceed 100MB. +For example, rule "loginclass:users:vmem:deny=100M/process" means +that each process of any user belonging to login class "users" may allocate +up to 100MB of virtual memory. +Rule "loginclass:users:vmem:deny=100M/user" would mean that for each +user belonging to the login class "users", the sum of virtual memory allocated +by all the processes of a that user will not exceed 100MB. +Rule "loginclass:users:vmem:deny=100M/loginclass" would mean that the sum of +virtual memory allocated by all processes of all users belonging to that login +class will not exceed 100MB. .Pp -Valid rule has all of these fields specified, except for the per, which defaults +Valid rule has all those fields specified, except for the per, which defaults to the value of subject. .Pp A filter is a rule for which one of more fields other than per is left empty. @@ -119,8 +119,8 @@ .Sh EXIT STATUS .Ex -std .Sh SEE ALSO -.Xr id 1 , -.Xr limits 1 +.Xr jailstat 8 , +.Xr userstat 8 .Sh HISTORY The .Nm ==== //depot/projects/soc2009/trasz_limits/usr.bin/userstat/Makefile#2 (text+ko) ==== @@ -3,8 +3,7 @@ SCRIPTS= userstat.sh LINKS= ${BINDIR}/userstat ${BINDIR}/jailstat -#MAN= userstat.1 -#MLINKS= jailstat.1 -MAN= +MAN= userstat.8 +MLINKS= userstat.8 jailstat.8 .include <bsd.prog.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101211623.p0LGNAqi074520>