Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: tcsh set time equivalent
- X-seq: zsh-users 16468
- From: Renato Botelho <rbgarga@xxxxxxxxx>
- To: Mikael Magnusson <mikachu@xxxxxxxxx>
- Subject: Re: tcsh set time equivalent
- Date: Fri, 7 Oct 2011 13:01:06 -0300
- Cc: zsh-users@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=Z/KXIqclZ3cChBsCw4KLSPaSlKPNSUNcdGXXlY/pu1U=; b=aj3FReg3c3fxFkp7CW4tx0YesuHTLwt6KPlh2x67s91+PaHAMZVCSkPbvl6ZNGB31h Kql0Gm2USRMBi1VKKaLKl3j2rMWt5EbAyKQoIK4RTknisvrrnqZWaA4UdAAA3HkL2ES1 vAEeJPbLjLxxqDxnG5c9eLzkHDolW1dc3vZmA=
- In-reply-to: <CAHYJk3SqK7hw=sF-50+Xc5=6PDsSjhdWO+NQpsiNL9Wrhf5DhA@mail.gmail.com>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <CAESiWk=f2GT=vuSCxDiYfGDG5-f5z_COD30-wT-Dd8Vyu7zUWg@mail.gmail.com> <CAHYJk3SqK7hw=sF-50+Xc5=6PDsSjhdWO+NQpsiNL9Wrhf5DhA@mail.gmail.com>
On Fri, Sep 30, 2011 at 7:12 PM, Mikael Magnusson <mikachu@xxxxxxxxx> wrote:
> On 30 September 2011 23:58, Renato Botelho <rbgarga@xxxxxxxxx> wrote:
>> Hello,
>>
>> I used to have a configuration on tcsh:
>>
>> set time=(60 "\
>> Time spent in user mode (CPU seconds) : %Us\
>> Time spent in kernel mode (CPU seconds) : %Ss\
>> Total time : %Es\
>> CPU utilisation (percentage) : %P\
>> Times the process was swapped : %W\
>> Times of major page faults : %F\
>> Times of minor page faults : %R")
>>
>> With this, if a command that took over 60s to be executed, this
>> summary was showed after.
>>
>> Is there any equivalent function on zsh?
>
> There's REPORTTIME (just assign a number to it), but it measures cpu
> time, not wall clock.
Hello Mikael,
I set REPORTTIME=2, and ran a `find /usr -type l -name '*xxxx*'`, it took
about 20 seconds do execute and at the end, it didn't show anything.
I saw zshparams manpage and this parameter is there as you said. Is there
anything else i need to consider?
I'm using zsh 4.3.11 on fedora 15
Regards
--
Renato Botelho
Messages sorted by:
Reverse Date,
Date,
Thread,
Author