From: Bart Schaefer <schaefer@brasslantern.com>
To: zsh-users@zsh.org
Subject: Re: tcsh set time equivalent
Date: Fri, 07 Oct 2011 09:51:38 -0700 [thread overview]
Message-ID: <111007095138.ZM9989@torch.brasslantern.com> (raw)
In-Reply-To: <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
prev parent reply other threads:[~2011-10-07 16:52 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-30 21:58 Renato Botelho
2011-09-30 22:12 ` Mikael Magnusson
2011-10-02 2:07 ` Dan Nelson
2011-10-07 16:01 ` Renato Botelho
2011-10-07 16:14 ` Mikael Magnusson
2011-10-07 18:58 ` Renato Botelho
2011-10-07 16:51 ` Bart Schaefer [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=111007095138.ZM9989@torch.brasslantern.com \
--to=schaefer@brasslantern.com \
--cc=zsh-users@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).