summary refs log tree commit diff
path: root/src/dash.1
diff options
context:
space:
mode:
authorChristoph Mathys <eraserix@gmail.com>2012-07-03 17:36:01 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2012-07-03 17:36:01 +0800
commit46abc8c6d8a5e9a5712bdc1312c0b6960eec65a4 (patch)
treee83c297de3cfa32ab1b05ce24b489af55fc21a20 /src/dash.1
parentAvoid overflow for very long variable name (diff)
downloaddash-46abc8c6d8a5e9a5712bdc1312c0b6960eec65a4.tar.gz
dash-46abc8c6d8a5e9a5712bdc1312c0b6960eec65a4.zip
[BUILTIN] Add support for ulimit -r
I recently found myself in need to have dash support 'ulimit -r' to
set maximum realtime priority. Attached is a patch that adds the
parameter to the builtin ulimit command and updates the manpage.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'src/dash.1')
-rw-r--r--src/dash.12
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dash.1 b/src/dash.1
index 3847d98..a9cb491 100644
--- a/src/dash.1
+++ b/src/dash.1
@@ -2163,6 +2163,8 @@ show or set the limit on the number of processes this user can
 have at one time
 .It Fl n
 show or set the limit on the number files a process can have open at once
+.It Fl r
+show or set the limit on the real-time scheduling priority of a process
 .El
 .Pp
 If none of these is specified, it is the limit on file size that is shown