If you like BoxMatrix then please contribute Supportdata, Supportdata2, Firmware and/or Hardware (get in touch).
My metamonk@yahoo.com is not reachable by me since years. Please use hippie2000@webnmail.de instead.

0
U

Property:ulimit (bashcmd)

From BoxMatrix


BoxMatrix >> Shell-Commands >> ulimit (bashcmd) @ BoxMatrix   -   IRC-Chat   -   Translate: de es fr it nl pl
News Selectors Models Accessories Components Environment Config Commands System Webif Software Develop Lexicon Community Project Media

Startup-Scr Hotplug-Scr BusyBox-Cmds Bash-Cmds AVM-Cmds Chipset-Cmds Linux-Cmds Shared-Libs Kernel-Mods Research

Info
  
Name-Collision - multiple objects in this wiki use the name ulimit!
ulimit (bashcmd) Modify shell resource limits.
ulimit (bbcmd) Set or report file size limit.

Bash-Command

Goto:   GPL-Browser  -  Dependencies   -   Model-Matrix   -   Symbols   -   SMW-Browser

Details

Excerpt from:   Bash source   >>   ulimit command

Possible #if / #endif blocks are compile options. There is no mechanism yet on BoxMatrix to detect which of these are set per model.

ulimit [-SHabcdefiklmnpqrstuvxPT] [limit]

Modify shell resource limits.

Provides control over the resources available to the shell and processes
it creates, on systems that allow such control.

Options:
  -S    use the `soft' resource limit
  -H    use the `hard' resource limit
  -a    all current limits are reported
  -b    the socket buffer size
  -c    the maximum size of core files created
  -d    the maximum size of a process's data segment
  -e    the maximum scheduling priority (`nice')
  -f    the maximum size of files written by the shell and its children
  -i    the maximum number of pending signals
  -k    the maximum number of kqueues allocated for this process
  -l    the maximum size a process may lock into memory
  -m    the maximum resident set size
  -n    the maximum number of open file descriptors
  -p    the pipe buffer size
  -q    the maximum number of bytes in POSIX message queues
  -r    the maximum real-time scheduling priority
  -s    the maximum stack size
  -t    the maximum amount of cpu time in seconds
  -u    the maximum number of user processes
  -v    the size of virtual memory
  -x    the maximum number of file locks
  -P    the maximum number of pseudoterminals
  -T    the maximum number of threads

Not all options are available on all platforms.

If LIMIT is given, it is the new value of the specified resource; the
special LIMIT values `soft', `hard', and `unlimited' stand for the
current soft limit, the current hard limit, and no limit, respectively.
Otherwise, the current value of the specified resource is printed.  If
no option is given, then -f is assumed.

Values are in 1024-byte increments, except for -t, which is in seconds,
-p, which is in increments of 512 bytes, and -u, which is an unscaled
number of processes.

Exit Status:
Returns success unless an invalid option is supplied or an error occurs.

Excerpt from:   bashref.info   >>   Bash Builtins   >>   ulimit command

ulimit [-HSabcdefiklmnpqrstuvxPT] [LIMIT]

'ulimit' provides control over the resources available to processes
started by the shell, on systems that allow such control.  If an
option is given, it is interpreted as follows:

-S
     Change and report the soft limit associated with a resource.

-H
     Change and report the hard limit associated with a resource.

-a
     All current limits are reported.

-b
     The maximum socket buffer size.

-c
     The maximum size of core files created.

-d
     The maximum size of a process's data segment.

-e
     The maximum scheduling priority ('nice').

-f
     The maximum size of files written by the shell and its
     children.

-i
     The maximum number of pending signals.

-k
     The maximum number of kqueues that may be allocated.

-l
     The maximum size that may be locked into memory.

-m
     The maximum resident set size (many systems do not honor this
     limit).

-n
     The maximum number of open file descriptors (most systems do
     not allow this value to be set).

-p
     The pipe buffer size.

-q
     The maximum number of bytes in POSIX message queues.

-r
     The maximum real-time scheduling priority.

-s
     The maximum stack size.

-t
     The maximum amount of cpu time in seconds.

-u
     The maximum number of processes available to a single user.

-v
     The maximum amount of virtual memory available to the shell,
     and, on some systems, to its children.

-x
     The maximum number of file locks.

-P
     The maximum number of pseudoterminals.

-T
     The maximum number of threads.

If LIMIT is given, and the '-a' option is not used, LIMIT is the
new value of the specified resource.  The special LIMIT values
'hard', 'soft', and 'unlimited' stand for the current hard limit,
the current soft limit, and no limit, respectively.  A hard limit
cannot be increased by a non-root user once it is set; a soft limit
may be increased up to the value of the hard limit.  Otherwise, the
current value of the soft limit for the specified resource is
printed, unless the '-H' option is supplied.  When setting new
limits, if neither '-H' nor '-S' is supplied, both the hard and
soft limits are set.  If no option is given, then '-f' is assumed.
Values are in 1024-byte increments, except for '-t', which is in
seconds; '-p', which is in units of 512-byte blocks; '-P', '-T',
'-b', '-k', '-n' and '-u', which are unscaled values; and, when in
POSIX Mode (*note Bash POSIX Mode::), '-c' and '-f', which are in
512-byte increments.

The return status is zero unless an invalid option or argument is
supplied, or an error occurs while setting a new limit.

GPL-Browser

Daily updated index of all ulimit code findings on the GPL-Browser. Last update: 2024-12-23 05:02 GMT.
The Browse column points to the Path containing the respective source code on the gpl.boxmatrix.info service.
The SoC column lists the Chip-Codenames, the Model column lists the nicks of the Box-Models.
The Diff column links the comparison of the AVM Kernel to the pristine original from Kernel.org.
The Download column links the full tarball the respective directory content is extracted from.
The presence of the source does not mean it fits the respective model and architecture. See the Model-Matrix where it's used.

Dependencies

Daily updated index of all dependencies of this command. Last update: 2024-12-23 07:59 GMT.
A * in the Mod column marks info from Supportdata-Probes, which will always stay incomplete.

Relation Typ Object Mod Firmware Info Origin
0 dependencies for this command

Model-Matrix

Daily updated index of the presence, path and size of this command for each model. Last update: 2024-12-23 05:43 GMT.
Showing all models using this command. Click any column header (click-wait-click) to sort the list by the respective data.
The (main/scrpn/boot/arm/prx/atom/rtl) label in the Model column shows which CPU is meant for Multi-Linux models.
Note that this list is merged from Firmware-Probes of all known AVM firmware for a model, including Recovery.exe and Labor-Files.

Model Firmware Path Size
FRITZ!Box 6591 Cable (atom) 7.04 - 8.00 <bash>
FRITZ!Box 6660 Cable (atom) 7.14 - 8.00 <bash>
FRITZ!Box 6670 Cable (atom) 7.61 - 7.90 <bash>
FRITZ!Box 6690 Cable (atom) 7.28 - 7.90 <bash>
4 models use this command

Symbols

Daily updated index of all symbols of this command. Last update: 2024-12-23 07:59 GMT.

Firmware Symbol
0 symbols for this command

SMW-Browser

Information is currently being retrieved from the backend.