From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5609 invoked by alias); 25 Jun 2014 12:18:41 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 32800 Received: (qmail 20066 invoked from network); 25 Jun 2014 12:18:33 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.2 Date: Wed, 25 Jun 2014 14:18:30 +0200 From: Thomas Klausner To: Peter Stephenson Cc: zsh-workers@zsh.org Subject: Re: ulimit -a: -r vs -N [was Re: pkgsrc patches for zsh] Message-ID: <20140625121830.GA11862@danbala.tuwien.ac.at> References: <20140624160708.6bef4d2c@pwslap01u.europe.root.pri> <20140624161102.GJ13765@danbala.tuwien.ac.at> <20140624172642.61b422e0@pwslap01u.europe.root.pri> <20140624170908.GK13765@danbala.tuwien.ac.at> <20140625092659.3e084cc7@pwslap01u.europe.root.pri> <20140625083655.GP13765@danbala.tuwien.ac.at> <20140625113335.2a2675cd@pwslap01u.europe.root.pri> <20140625110010.GQ13765@danbala.tuwien.ac.at> <20140625121155.70228dab@pwslap01u.europe.root.pri> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140625121155.70228dab@pwslap01u.europe.root.pri> 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