History log of /freebsd-current/usr.bin/rctl/rctl.8
Revision Date Author Comments
# fa9896e0 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: two-line nroff pattern

Remove /^\.\\"\n\.\\"\s*\$FreeBSD\$$\n/


# bce7ee9d 28-Oct-2020 Edward Tomasz Napierala <trasz@FreeBSD.org>

Drop "All rights reserved" from all my stuff. This includes
Foundation copyrights, approved by emaste@. It does not include
files which carry other people's copyrights; if you're one
of those people, feel free to make similar change.

Reviewed by: emaste, imp, gbe (manpages)
Differential Revision: https://reviews.freebsd.org/D26980


# bd67d6b2 25-May-2018 Eitan Adler <eadler@FreeBSD.org>

rctl: correct use of "vmem" instead of "vmemoryuse"

Submitted by: Jamie Landeg-Jones <jamie@catflap.org>
PR: 228482
MFC after: 1 month


# f9f0cd1f 26-Feb-2018 Edward Tomasz Napierala <trasz@FreeBSD.org>

.Xr rctl(8) and cpuset(1).

PR: 225935
Submitted by: D. Ebdrup <debdrup at gmail.com> (earlier version)
MFC after: 2 weeks


# f26315bd 01-Jun-2017 Edward Tomasz Napierala <trasz@FreeBSD.org>

Use proper capitalization with .Dd.

Submitted by: oshogbo
MFC after: 2 weeks


# f2e34224 28-May-2017 Edward Tomasz Napierala <trasz@FreeBSD.org>

Declutter rctl(8) by moving kernel build instructions into newly
created rctl(4).

MFC after: 2 weeks


# 859f4b70 28-May-2017 Edward Tomasz Napierala <trasz@FreeBSD.org>

Random tweaks to rctl(8).

MFC after: 2 weeks


# ae34b6ff 06-Apr-2016 Edward Tomasz Napierala <trasz@FreeBSD.org>

Add four new RCTL resources - readbps, readiops, writebps and writeiops,
for limiting disk (actually filesystem) IO.

Note that in some cases these limits are not quite precise. It's ok,
as long as it's within some reasonable bounds.

Testing - and review of the code, in particular the VFS and VM parts - is
very welcome.

MFC after: 1 month
Relnotes: yes
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D5080


# 0971623e 28-Nov-2015 Edward Tomasz Napierala <trasz@FreeBSD.org>

Rewrite the rctl(8) utility to make it possible to add multiple rules
in a single run. This speeds up operation with large rulesets.

MFC after: 1 month
Sponsored by: The FreeBSD Foundation


# 6ced1f78 05-Nov-2015 Edward Tomasz Napierala <trasz@FreeBSD.org>

Fix markup in rctl(8) - the 'rule' or 'filter' arguments are not optional.

MFC after: 1 month
Sponsored by: The FreeBSD Foundation


# d051ac80 14-Sep-2015 Edward Tomasz Napierala <trasz@FreeBSD.org>

Make it clear that 'swapuse' is swap reservation and not actual swap usage.

MFC after: 1 month
Sponsored by: The FreeBSD Foundation


# 37cba721 14-Jul-2015 Joel Dahl <joel@FreeBSD.org>

mdoc: add missing .El


# ba8f0eb8 14-May-2015 Edward Tomasz Napierala <trasz@FreeBSD.org>

Build GENERIC with RACCT/RCTL support by default. Note that it still
needs to be enabled by adding "kern.racct.enable=1" to /boot/loader.conf.

Differential Revision: https://reviews.freebsd.org/D2407
Reviewed by: emaste@, wblock@
MFC after: 1 month
Relnotes: yes
Sponsored by: The FreeBSD Foundation


# aaa995f2 11-Sep-2014 Edward Tomasz Napierala <trasz@FreeBSD.org>

Fix typo.

MFC after: 3 days
Sponsored by: The FreeBSD Foundation


# 2b7af31c 23-Jun-2014 Baptiste Daroussin <bapt@FreeBSD.org>

use .Mt to mark up email addresses consistently (part3)

PR: 191174
Submitted by: Franco Fichtner <franco at lastsummer.de>


# 1de5b5eb 16-Feb-2014 Edward Tomasz Napierala <trasz@FreeBSD.org>

Mention that rctl(8) was sponsored by the Foundation.

Sponsored by: The FreeBSD Foundation


# c0a04e01 15-Feb-2014 Bryan Drewery <bdrewery@FreeBSD.org>

Rework rctl(8) manpage

- Note that kernel options are required
- Shift parameters around in SYNOPSIS to make it more clear that there are
different modes
- For all literal symbols such as 'process' or 'loginclass' or 'wallclock',
etc, make them into bold symbols with .Sy
- For each subject:subject-id:etc: use .Em to underline to make it more clear
they relate to the rule syntax
- Document how devd(8) support works
- Move RSS warning to BUGS and replace RSS with 'memoryuse' since 'RSS' is not
defined in the manpage
- Add more examples around listing existing rules
- Make rule syntax into a list to improve readability
- Add a list of subjects and their corresponding subject-id same as
RESOURCES/ACTIONS have lists
- Note that rctl(8) takes affect on all current and future processes
- Note that amount can take human numbers
- Add reference to login.conf(5) in few places login class is mentioned

Reviewed by: trasz
Approved by: bapt (mentor)
MFC after: 1 week


# 2063b2c0 11-Apr-2013 Joel Dahl <joel@FreeBSD.org>

Minor spelling and grammar fixes.


# 8ca5c3fa 04-Dec-2012 Joel Dahl <joel@FreeBSD.org>

Remove superfluous paragraph macro.


# 0a44395e 03-Dec-2012 Bryan Drewery <bdrewery@FreeBSD.org>

- Move EXAMPLES descriptions to before the actual command
- Add mdoc macros for EXAMPLES

Reviewed by: eadler
Approved by: gjb
MFC after: 3 days


# 92f79841 26-Oct-2012 Edward Tomasz Napierala <trasz@FreeBSD.org>

Add pcpu to the the rctl(8) manual page.


# d8c4c833 16-Sep-2012 Edward Tomasz Napierala <trasz@FreeBSD.org>

Remove references to userstat(1) and jailstat(1). Those tools were never
merged from the Perforce branch. They might be brought in when %CPU limits
go into the tree.

PR: docs/171240
MFC after: 2 weeks


# aeb99b56 01-Sep-2012 Edward Tomasz Napierala <trasz@FreeBSD.org>

Improve description for "rctl -l".

MFC after: 2 weeks


# 5083afda 22-Apr-2012 Xin LI <delphij@FreeBSD.org>

The .Fx macro needs the version number be in its own word separated by
a space. This change have no visible effect for rendering.


# 1844d4fe 29-Mar-2012 Joel Dahl <joel@FreeBSD.org>

Remove superfluous paragraph macro.


# 288eac5a 29-Mar-2012 Joel Dahl <joel@FreeBSD.org>

mandoc complains loudly when <TAB>s are misused in columnated lists. Fix
this syntax violation and while I'm here also convert <TAB> to Ta and adjust
quotation marks in order to prevent this problem in the future.


# 126b754d 25-Mar-2012 Joel Dahl <joel@FreeBSD.org>

Remove superfluous paragraph macro.


# a29460e0 01-Mar-2012 Edward Tomasz Napierala <trasz@FreeBSD.org>

Use proper "maxproc" name, not "nproc".

PR: docs/162172


# dce762dd 22-Dec-2011 Glen Barber <gjb@FreeBSD.org>

Formatting fixes:

hexdump/od.1:
- Enclose tabbed content in quotes [1]

ar/ar.1:
- Enclose tabbed content in quotes [1]

rctl/rctl.8:
- Enclose tabbed content in quotes [1]
- Start a sentence on a newline [2]

Reported by: manlint [1], igor [2]
MFC after: 1 week
X-MFC-after: 9.0-RELEASE


# 85a2f1b4 14-Jul-2011 Edward Tomasz Napierala <trasz@FreeBSD.org>

Rename resource names to match these in login.conf.


# b2e52ced 02-Jun-2011 Ulrich Spörlein <uqs@FreeBSD.org>

mdoc: fix markup


# 7e2548ae 27-May-2011 Edward Tomasz Napierala <trasz@FreeBSD.org>

Remove definitions for RACCT_FSIZE and RACCT_SBSIZE - these two are rather
performance-sensitive and not that useful, so I won't be merging them
before 9.0.


# a7ad07bf 03-May-2011 Edward Tomasz Napierala <trasz@FreeBSD.org>

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.


# ee2509d1 14-Apr-2011 Edward Tomasz Napierala <trasz@FreeBSD.org>

Add manual page for rctl.conf(5).


# 20d3bac0 30-Mar-2011 Edward Tomasz Napierala <trasz@FreeBSD.org>

Fix grammar and bump date.

Submitted by: trociny


# 6ec54a57 30-Mar-2011 Edward Tomasz Napierala <trasz@FreeBSD.org>

Add rctl(8), the utility to manage rctl rules.

Sponsored by: The FreeBSD Foundation
Reviewed by: kib (earlier version)