diff --git a/usr.bin/rctl/rctl.8 b/usr.bin/rctl/rctl.8 --- a/usr.bin/rctl/rctl.8 +++ b/usr.bin/rctl/rctl.8 @@ -1,4 +1,6 @@ -.\"- +.\" +.\" SPDX-License-Identifier: BSD-2-Clause +.\" .\" Copyright (c) 2009 Edward Tomasz Napierala .\" .\" Redistribution and use in source and binary forms, with or without @@ -22,7 +24,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.Dd February 26, 2018 +.Dd April 26, 2025 .Dt RCTL 8 .Os .Sh NAME @@ -57,11 +59,15 @@ .Ar filter argument is specified, only rules matching the filter are displayed. The options are as follows: -.Bl -tag -width indent +.Bl -tag -width "-l filter" .It Fl a Ar rule Add .Ar rule to the RCTL database. +.It Fl h +"Human-readable" output. +Use unit suffixes: Byte, Kilobyte, Megabyte, +Gigabyte, Terabyte and Petabyte. .It Fl l Ar filter Display rules applicable to the process defined by .Ar filter . @@ -69,6 +75,8 @@ 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 n +Display user IDs numerically rather than converting them to a user name. .It Fl r Ar filter Remove rules matching .Ar filter @@ -84,12 +92,6 @@ .Pc matching the .Ar filter . -.It Fl h -"Human-readable" output. -Use unit suffixes: Byte, Kilobyte, Megabyte, -Gigabyte, Terabyte and Petabyte. -.It Fl n -Display user IDs numerically rather than converting them to a user name. .El .Pp Modifying rules affects all currently running and future processes matching @@ -234,6 +236,17 @@ Not all actions are supported for all resources. Attempting to add a rule with an action not supported by a given resource will result in error. +.Sh LOADER TUNABLES +Tunables can be set at the +.Xr loader 8 +prompt or stored in +.Xr loader.conf 5 . +.Bl -tag -width "kern.racct.enable" +.It Va "kern.racct.enable" +Enable the resource limiting subsystem. +Default +.Ql 0 . +.El .Sh EXIT STATUS .Ex -std .Sh EXAMPLES