diff options
author | trasz <trasz@FreeBSD.org> | 2011-05-03 07:32:58 +0000 |
---|---|---|
committer | trasz <trasz@FreeBSD.org> | 2011-05-03 07:32:58 +0000 |
commit | 752ffacc695ca593f052934a2881be57dec92419 (patch) | |
tree | 83f996220eb5127d50beee996ac337678876fccc /usr.bin | |
parent | a857ffe8345f7868b2fb1f9f4b0606558ecba6ca (diff) | |
download | FreeBSD-src-752ffacc695ca593f052934a2881be57dec92419.zip FreeBSD-src-752ffacc695ca593f052934a2881be57dec92419.tar.gz |
Change the way rctl interfaces with jails by introducing prison_racct
structure, which acts as a proxy between them. This makes jail rules
persistent, i.e. they can be added before jail gets created, and they
don't disappear when the jail gets destroyed.
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/rctl/rctl.8 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/rctl/rctl.8 b/usr.bin/rctl/rctl.8 index f30f4c3..bddd313 100644 --- a/usr.bin/rctl/rctl.8 +++ b/usr.bin/rctl/rctl.8 @@ -25,7 +25,7 @@ .\" .\" $FreeBSD$ .\" -.Dd April 14, 2011 +.Dd May 3, 2011 .Dt RCTL 8 .Os .Sh NAME @@ -90,7 +90,7 @@ Subject defines the kind of entity the rule applies to. It can be either process, user, login class, or jail. .Pp Subject ID identifies the subject. It can be user name, -numerical user ID, login class name, jail name, or numerical jail ID. +numerical user ID, login class name, or jail name. .Pp Resource identifies the resource the rule controls. .Pp @@ -177,9 +177,9 @@ Prevent user "joe" from allocating more than 1GB of virtual memory. .Pp Remove all RCTL rules. .Pp -.Dl rctl -hu jail:5 +.Dl rctl -hu jail:www .Pp -Display resource usage information for jail with JID 5. +Display resource usage information for jail named "www". .Pp .Dl rctl -l process:512 .Pp |