bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: time command


From: Chuck Swiger
Subject: Re: time command
Date: Tue, 24 Jun 2008 10:11:57 -0700

On Jun 24, 2008, at 7:47 AM, Sam Steingold wrote:
I would like all long-running commands to be auto-timed.
i.e., all commands I type at the prompt should be run as if with "time"
built-in, but if the real or user time is smaller than some value
(specified by the user in an environment variable), the timing output
should be omitted.

In ZSH, that's obtainable via the REPORTTIME env variable:

    REPORTTIME
If nonnegative, commands whose combined user and system execu- tion times (measured in seconds) are greater than this value
           have timing statistics printed for them.

Regards,
--
-Chuck





reply via email to

[Prev in Thread] Current Thread [Next in Thread]