heya, how about... "time"? i think it outputs the timing information to stderr after it has finished running the app. it's funny all your searching didn't show that up :) for future reference, "man -k keyword" is another good place to look.
sean
On Thu, Jan 02, 2003 at 03:57:10AM -0600, Gerald Livingston wrote:
> OK -- dumb question that I can't remember the answer to and can't find
> by googling.
>
> How the heck do I time how long it takes a certain script to run?
>
> I've searched the archives and google and apropos and apt-cache on all
> kinds of variations of "time" (timing, timer, etc) and can't find
> anything.
>
> Do I need to write a 'date +%s' in to the beginning and end of the
> script and do the math when it finishes?
>
> Another dumb bash question later if I can't figure it out.
>
> G
>
> --
> Configure your Email to send TEXT ONLY -- See the following page:
> http://expita.com/nomime.html
>
> gvl2 (Gerald)
> AirBall the Rolling Basket Case (1969 Standard Beetle)
> LifeSaver (1974 Bay Window Bus)
> http://www.phorce1.com
>
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
>
msg21941/pgp00000.pgp
Description: PGP signature

