rctl.8 (271623) | rctl.8 (284665) |
---|---|
1.\"- 2.\" Copyright (c) 2009 Edward Tomasz Napierala 3.\" All rights reserved. 4.\" 5.\" Redistribution and use in source and binary forms, with or without 6.\" modification, are permitted provided that the following conditions 7.\" are met: 8.\" 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18.\" LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 19.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 20.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 21.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 22.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 23.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 24.\" POSSIBILITY OF SUCH DAMAGE. 25.\" | 1.\"- 2.\" Copyright (c) 2009 Edward Tomasz Napierala 3.\" All rights reserved. 4.\" 5.\" Redistribution and use in source and binary forms, with or without 6.\" modification, are permitted provided that the following conditions 7.\" are met: 8.\" 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18.\" LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 19.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 20.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 21.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 22.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 23.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 24.\" POSSIBILITY OF SUCH DAMAGE. 25.\" |
26.\" $FreeBSD: stable/10/usr.bin/rctl/rctl.8 271623 2014-09-15 13:19:40Z trasz $ | 26.\" $FreeBSD: stable/10/usr.bin/rctl/rctl.8 284665 2015-06-21 06:28:26Z trasz $ |
27.\" 28.Dd September 11, 2014 29.Dt RCTL 8 30.Os 31.Sh NAME 32.Nm rctl 33.Nd display and update resource limits database 34.Sh SYNOPSIS --- 193 unchanged lines hidden (view full) --- 228See 229.Xr signal 3 230for a list of supported signals 231.El 232.Pp 233Not all actions are supported for all resources. 234Attempting to add a rule with an action not supported by a given resource will 235result in error. | 27.\" 28.Dd September 11, 2014 29.Dt RCTL 8 30.Os 31.Sh NAME 32.Nm rctl 33.Nd display and update resource limits database 34.Sh SYNOPSIS --- 193 unchanged lines hidden (view full) --- 228See 229.Xr signal 3 230for a list of supported signals 231.El 232.Pp 233Not all actions are supported for all resources. 234Attempting to add a rule with an action not supported by a given resource will 235result in error. |
236.Sh LOADER TUNABLES 237Tunables can be set at the 238.Xr loader 8 239prompt, or 240.Xr loader.conf 5 . 241.Bl -tag -width indent 242.It Va kern.racct.enable: No 1 243Enable 244.Nm . 245This defaults to 1, unless 246.Cd "options RACCT_DEFAULT_TO_DISABLED" 247is set in the kernel configuration file. |
|
236.Sh EXIT STATUS 237.Ex -std 238.Sh EXAMPLES 239Prevent user "joe" from allocating more than 1GB of virtual memory: 240.Dl Nm Fl a Ar user:joe:vmemoryuse:deny=1g 241.Pp 242Remove all RCTL rules: 243.Dl Nm Fl r Ar \&: --- 33 unchanged lines hidden --- | 248.Sh EXIT STATUS 249.Ex -std 250.Sh EXAMPLES 251Prevent user "joe" from allocating more than 1GB of virtual memory: 252.Dl Nm Fl a Ar user:joe:vmemoryuse:deny=1g 253.Pp 254Remove all RCTL rules: 255.Dl Nm Fl r Ar \&: --- 33 unchanged lines hidden --- |