Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
bastille-limits(8)	     System Manager's Manual	      bastille-limits(8)

NAME
     bastille  limits  --  Apply  resource  limits  to	jail(s). See rctl(8) and
     cpuset(1).

SYNOPSIS
     bastille [-alx] TARGET add OPTION VALUE
     bastille [-ax] TARGET remove OPTION
     bastille [-ax] TARGET clear|reset|stats
     bastille [-ax] TARGET list|show [active]

DESCRIPTION
     The bastille sub-command allows adding and setting limits to jail(s).

     bastille limits [-alx] TARGET add OPTION VALUE

	     add     Add the specified OPTION to the jail along with its VALUE.

	     -a, --auto
		     Auto mode. Start/stop jail(s) if required.

	     -l, --log
		     Enable logging for the specified rule (RCTL only).

	     -x, --debug
		     Enable debug mode.

	     The OPTION and VALUE shoud conform to RCTL specs. See rctl(8).

     bastille limits [-ax] TARGET remove OPTION

	     remove  Remove the specified OPTION from the jail.

	     -a, --auto
		     Auto mode. Start/stop jail(s) if required.

	     -x, --debug
		     Enable debug mode.

     bastille limits [-ax] TARGET clear|reset|stats

	     clear   Clear limits from the system, but don't  remove  from  jail
		     configuration.

	     reset   Clear  limits  from system, and remove from jail configura-
		     tion.

	     stats   Show limit stats (RCTL only).

	     -x, --debug
		     Enable debug mode.

     bastille limits [-ax] TARGET list|show [active]

	     list    Show all configured limits on the system, active or not.

		     If active is given as the last argument here,  only  active
		     limits will be shown.

	     show    Same as list.

	     -x, --debug
		     Enable debug mode.

EXAMPLES
     Apply memoryuse limit of 4G to myjail:
	     bastille limits myjail set memoryuse 4G

     Limit myjail to cpu 0 and 1:
	     bastille limits myjail set cpu 0,1

     Remove all limits from myjail:
	     bastille limits -a myjail reset

SEE ALSO
     bastille.conf(5),	 bastille-bootstrap(8),   bastille-clone(8),   bastille-
     cmd(8),   bastille-config(8),   bastille-console(8),   bastille-convert(8),
     bastille-cp(8),  bastille-create(8), bastille-destroy(8), bastille-edit(8),
     bastille-etcupdate(8), bastille-export(8),  bastille-htop(8),  bastille-im-
     port(8),  bastille-jcp(8), bastille-list(8), bastille-migrate(8), bastille-
     monitor(8),   bastille-mount(8),	bastille-network(8),	bastille-pkg(8),
     bastille-rcp(8),  bastille-rdr(8), bastille-rename(8), bastille-restart(8),
     bastille-service(8),   bastille-setup(8),	 bastille-start(8),    bastille-
     stop(8),	 bastille-sysrc(8),    bastille-tags(8),   bastille-template(8),
     bastille-top(8),	bastille-umount(8),   bastille-update(8),   bastille-up-
     grade(8), bastille-verify(8), bastille-zfs(8)

FreeBSD ports 15.quarterly	December 6, 2025	      bastille-limits(8)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=bastille-limits&sektion=8&manpath=FreeBSD+Ports+15.1.quarterly>

home | help