summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorGioele Barabucci <gioele@svario.it>2016-01-11 20:12:35 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2016-06-06 22:42:13 +0800
commit138f2df1e3c00183ca20d04e5084fcf4d34f330d (patch)
tree940025ecc4ef35d5232bec2e76e29381c70ec672 /src
parentshell: Fix build on Solaris 9 (diff)
downloaddash-138f2df1e3c00183ca20d04e5084fcf4d34f330d.tar.gz
dash-138f2df1e3c00183ca20d04e5084fcf4d34f330d.zip
man: Document ulimit -v
Document that `ulimit` can set the `RLIMIT_AS` limit (virtual memory) with
the `-v` flag.

Fixes: https://bugs.debian.org/78556
Reported-by: Vincent Lefevre <vincent@vinc17.net>
Signed-off-by: Gioele Barabucci <gioele@svario.it>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'src')
-rw-r--r--src/dash.15
1 files changed, 4 insertions, 1 deletions
diff --git a/src/dash.1 b/src/dash.1
index 832eae7..8b8026d 100644
--- a/src/dash.1
+++ b/src/dash.1
@@ -2114,7 +2114,7 @@ printed; for commands and tracked aliases the complete pathname of the
 command is printed.
 .It ulimit Xo
 .Op Fl H \*(Ba Fl S
-.Op Fl a \*(Ba Fl tfdscmlpn Op Ar value
+.Op Fl a \*(Ba Fl tfdscmlpnv Op Ar value
 .Xc
 Inquire about or set the hard or soft limits on processes or set new
 limits.
@@ -2164,6 +2164,9 @@ 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 v
+show or set the limit on the total virtual memory that can be
+in use by a process (in kilobytes)
 .It Fl r
 show or set the limit on the real-time scheduling priority of a process
 .El