Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Time-Option under tcsh available in zsh?
- X-seq: zsh-users 366
- From: Bruce Stephens <stephens@xxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxxxxxxx
- Subject: Re: Time-Option under tcsh available in zsh?
- Date: Mon, 19 Aug 1996 11:03:57 +0200 (MET DST)
- In-reply-to: <199608190852.AA07359@xxxxxxxxxxxxxxxxxxxxx> from "Thomas Schafbauer" at Aug 19, 96 10:53:59 am
> Is the time-variable (or something similar) also available in zsh?
> In tcsh I use
>
> set time='3 Time: %Uuser %Ssystem %Esec (=%P%%), %X+%DkB %I+%Oio %Fpf+%Ww'
>
> which gives me information on all jobs which last longer than 3 seconds.
> How can I achieve this in zsh? (Did not find something in the man-pages).
Use a combination of REPORTTIME and TIMEFMT (documentation in zshparam).
This is in zsh3.0, but I don't think it's changed in the recent past,
so it ought to be there in at least 2.6, and probably 2.5.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author