summaryrefslogtreecommitdiff
path: root/usr.bin/rctl
diff options
context:
space:
mode:
authorSimon J. Gerraty <sjg@FreeBSD.org>2012-11-04 02:52:03 +0000
committerSimon J. Gerraty <sjg@FreeBSD.org>2012-11-04 02:52:03 +0000
commit23090366f729c56cab62de74c7a51792357e98a9 (patch)
treec511c885796e28ec571b5267e8f11f3b103d35e9 /usr.bin/rctl
parent7750ad47a9a7dbc83f87158464170c8640723293 (diff)
parent22ff74b2f44234d31540b1f7fd6c91489c37cad3 (diff)
downloadsrc-test2-23090366f729c56cab62de74c7a51792357e98a9.tar.gz
src-test2-23090366f729c56cab62de74c7a51792357e98a9.zip
Notes
Diffstat (limited to 'usr.bin/rctl')
-rw-r--r--usr.bin/rctl/rctl.814
1 files changed, 9 insertions, 5 deletions
diff --git a/usr.bin/rctl/rctl.8 b/usr.bin/rctl/rctl.8
index 0d6606bef2d6..e570f57fc3ba 100644
--- a/usr.bin/rctl/rctl.8
+++ b/usr.bin/rctl/rctl.8
@@ -25,7 +25,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd March 1, 2012
+.Dd October 26, 2012
.Dt RCTL 8
.Os
.Sh NAME
@@ -68,6 +68,10 @@ to the RCTL database.
.It Fl l Ar filter
Display rules applicable to the process defined by
.Ar filter .
+Note that this is different from showing the rules when called without
+any options, as it shows not just the rules with subject equal to that
+of process, but also rules for the user, jail, and login class applicable
+to the process.
.It Fl r Ar filter
Remove rules matching
.Ar filter
@@ -90,7 +94,8 @@ 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, or jail name.
+It can be a process ID, user name, numerical user ID, login class name,
+or jail name.
.Pp
Resource identifies the resource the rule controls.
.Pp
@@ -141,6 +146,7 @@ A filter that matches all defined rules for maxproc resource would be
.It nshm Ta "number of SysV shared memory segments"
.It shmsize Ta "SysV shared memory size, in bytes"
.It wallclock Ta "wallclock time, in seconds"
+.It pcpu Ta "%CPU, in percents of a single CPU core"
.El
.Sh ACTIONS
.Bl -column -offset 3n "pseudoterminals"
@@ -179,9 +185,7 @@ Display resource usage information for jail named "www".
.Pp
Display all the rules applicable to process with PID 512.
.Sh SEE ALSO
-.Xr rctl.conf 5 ,
-.Xr jailstat 8 ,
-.Xr userstat 8
+.Xr rctl.conf 5
.Sh HISTORY
The
.Nm