zsh-users
 help / color / mirror / code / Atom feed
From: Mikael Magnusson <mikachu@gmail.com>
To: Renato Botelho <rbgarga@gmail.com>
Cc: zsh-users@zsh.org
Subject: Re: tcsh set time equivalent
Date: Sat, 1 Oct 2011 00:12:40 +0200	[thread overview]
Message-ID: <CAHYJk3SqK7hw=sF-50+Xc5=6PDsSjhdWO+NQpsiNL9Wrhf5DhA@mail.gmail.com> (raw)
In-Reply-To: <CAESiWk=f2GT=vuSCxDiYfGDG5-f5z_COD30-wT-Dd8Vyu7zUWg@mail.gmail.com>

On 30 September 2011 23:58, Renato Botelho <rbgarga@gmail.com> 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


  reply	other threads:[~2011-09-30 22:19 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 [this message]
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

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='CAHYJk3SqK7hw=sF-50+Xc5=6PDsSjhdWO+NQpsiNL9Wrhf5DhA@mail.gmail.com' \
    --to=mikachu@gmail.com \
    --cc=rbgarga@gmail.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).