From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28035 invoked by alias); 13 Apr 2012 21:15:58 -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: 30399 Received: (qmail 26497 invoked from network); 13 Apr 2012 21:15:57 -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.0 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,SPF_HELO_PASS,T_TO_NO_BRKTS_FREEMAIL autolearn=no version=3.3.2 Received-SPF: pass (ns1.primenet.com.au: SPF record at m.gmane.org designates 80.91.229.3 as permitted sender) X-Injected-Via-Gmane: http://gmane.org/ To: zsh-workers@zsh.org From: Christian Neukirchen Subject: Re: manpage mentions old TIMEFMT Date: Fri, 13 Apr 2012 23:15:40 +0200 Sender: chris@juno Message-ID: <87pqbbz62r.fsf@gmail.com> References: <87ty0nz7dn.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: a088b4a1ce50.dfn.mwn.de User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) Christian Neukirchen writes: > Hi, > > a minor documentation bug: > > TIMEFMT > The format of process time reports with the time keyword. The > default is `%E real %U user %S system %P %J'. > > but actually: > > % zsh --version > zsh 4.3.17 (x86_64-unknown-linux-gnu) > % zsh -f > juno% echo $TIMEFMT > %J %U user %S system %P cpu %*E total > > This probably went unnoticed for a loong time. :) > >> Thu Jun 15 00:25:43 1995 Richard Coleman >> ... >> * Changed the DEFAULT_TIMEFMT to >> "%J %U user %S system %P cpu %*E total". >> From rc. While I'm at it: %M The maximum memory the process had in use at any time in Kbytes. This seems to be in megabytes on my platform (zsh 4.3.17 (x86_64-unknown-linux-gnu), Linux 3.2.8). Finally, %X and %D are rubbish on Linux (but GNU time(1) always shows 0 for them). -- Christian Neukirchen http://chneukirchen.org