Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: ulimit -a: -r vs -N [was Re: pkgsrc patches for zsh]



On Wed, Jun 25, 2014 at 12:11:55PM +0100, Peter Stephenson wrote:
> Right, we'll just have to output for -T only, not -r.  As -r's for
> compatibility with sh and the zsh documentation mentions -T that's
> probably not a problem.

I think this works as intended:
# ulimit -r 161
# ulimit -a                                
-t: cpu time (seconds)              unlimited
-f: file size (blocks)              unlimited
-d: data seg size (kbytes)          262144
-s: stack size (kbytes)             4096
-c: core file size (blocks)         unlimited
-m: resident set size (kbytes)      32485916
-l: locked-in-memory size (kbytes)  10828638
-u: processes                       160
-n: file descriptors                128
-b: socket buffer size (bytes)      unlimited
-v: virtual memory size (kbytes)    unlimited
-T: threads                         161
# ulimit -T 162
# ulimit -a    
-t: cpu time (seconds)              unlimited
-f: file size (blocks)              unlimited
-d: data seg size (kbytes)          262144
-s: stack size (kbytes)             4096
-c: core file size (blocks)         unlimited
-m: resident set size (kbytes)      32485916
-l: locked-in-memory size (kbytes)  10828638
-u: processes                       160
-n: file descriptors                128
-b: socket buffer size (bytes)      unlimited
-v: virtual memory size (kbytes)    unlimited
-T: threads                         162

Thank you!
 Thomas



Messages sorted by: Reverse Date, Date, Thread, Author