summaryrefslogtreecommitdiff
path: root/usr.bin/rctl
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2012-12-04 00:53:20 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2012-12-04 00:53:20 +0000
commit0a44395e2d2a86a60fc582249f4ac1d4dd218f26 (patch)
treecd1fef41c895a42829bc9ac6ecd3dc329197f454 /usr.bin/rctl
parentcea10e1d3b2d2177745e4a9e079f397128ea5e1b (diff)
downloadsrc-test2-0a44395e2d2a86a60fc582249f4ac1d4dd218f26.tar.gz
src-test2-0a44395e2d2a86a60fc582249f4ac1d4dd218f26.zip
- Move EXAMPLES descriptions to before the actual command
- Add mdoc macros for EXAMPLES Reviewed by: eadler Approved by: gjb MFC after: 3 days
Notes
Notes: svn path=/head/; revision=243849
Diffstat (limited to 'usr.bin/rctl')
-rw-r--r--usr.bin/rctl/rctl.821
1 files changed, 9 insertions, 12 deletions
diff --git a/usr.bin/rctl/rctl.8 b/usr.bin/rctl/rctl.8
index e570f57fc3ba..8ae685d1bd14 100644
--- a/usr.bin/rctl/rctl.8
+++ b/usr.bin/rctl/rctl.8
@@ -25,7 +25,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd October 26, 2012
+.Dd December 3, 2012
.Dt RCTL 8
.Os
.Sh NAME
@@ -169,21 +169,18 @@ Note that limiting RSS may kill the machine due to thrashing.
.Sh EXIT STATUS
.Ex -std
.Sh EXAMPLES
-.Dl rctl -a user:joe:vmemoryuse:deny=1g
+Prevent user "joe" from allocating more than 1GB of virtual memory:
+.Dl Nm Fl a Ar user:joe:vmemoryuse:deny=1g
.Pp
-Prevent user "joe" from allocating more than 1GB of virtual memory.
+Remove all RCTL rules:
+.Dl Nm Fl r Ar \&:
.Pp
-.Dl rctl -r :
+Display resource usage information for jail named "www":
+.Dl Nm Fl hu Ar jail:www
.Pp
-Remove all RCTL rules.
+Display all the rules applicable to process with PID 512:
+.Dl Nm Fl l Ar process:512
.Pp
-.Dl rctl -hu jail:www
-.Pp
-Display resource usage information for jail named "www".
-.Pp
-.Dl rctl -l process:512
-.Pp
-Display all the rules applicable to process with PID 512.
.Sh SEE ALSO
.Xr rctl.conf 5
.Sh HISTORY