Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: tcsh set time equivalent
- X-seq: zsh-users 16458
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: Renato Botelho <rbgarga@xxxxxxxxx>
- Subject: Re: tcsh set time equivalent
- Date: Sat, 1 Oct 2011 00:12:40 +0200
- 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:date:message-id:subject:from:to :cc:content-type; bh=oqb4/Qew83WiXs93H4CQnnxcdNSpQqyi1D+BcUUTwqs=; b=Ev4mGvzWDjOKy0+br9x497WoQ+PvU3zfZv05vr9coFc0JEE+LSxW9t78NYs9f4U+hW rBuUC4RxrflZG1+g3GJWkxXDi3pcHBRE8eKQg3TqhRwo8OlI9Li/ubwUPNEpHxOgJv6N iYa7o9saHSOwHDnRvnRqNM3OqGlU7H60s9Q94=
- In-reply-to: <CAESiWk=f2GT=vuSCxDiYfGDG5-f5z_COD30-wT-Dd8Vyu7zUWg@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>
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.
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author