PERFORCE change 188033 for review
Edward Tomasz Napierala
trasz at FreeBSD.org
Fri Jan 21 16:23:11 UTC 2011
http://p4web.freebsd.org/@@188033?ac=10
Change 188033 by trasz at 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>
More information about the p4-projects
mailing list