Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: tcsh set time equivalent
- X-seq: zsh-users 16470
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Re: tcsh set time equivalent
- Date: Fri, 07 Oct 2011 09:51:38 -0700
- In-reply-to: <CAESiWk=9no=J0MQxyCnyWQpjNeZs5fC6xpGF=zHrpH8wSWv28A@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> <CAESiWk=9no=J0MQxyCnyWQpjNeZs5fC6xpGF=zHrpH8wSWv28A@mail.gmail.com>
On Oct 7, 1:01pm, Renato Botelho wrote:
}
} 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.
torch% REPORTTIME=2
torch% (repeat 1000000; do print -n; done)
( repeat 1000000; do; print -n; done; ) 2.60s user 1.15s system 100% cpu 3.751
total
torch% TIMEFMT="\
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"
torch% (repeat 1000000; do print -n; done)
Time spent in user mode (CPU seconds) : 2.54ss
Time spent in kernel mode (CPU seconds) : 1.21ss
Total time : 3.75ss
CPU utilisation (percentage) : 99%
Times the process was swapped : 0
Times of major page faults : 0
Times of minor page faults : 110
torch%
--
Barton E. Schaefer
Messages sorted by:
Reverse Date,
Date,
Thread,
Author