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

Re: Timing a program run?


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.


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 debian-user-request@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Attachment: pgpuHZqGZWVLf.pgp
Description: PGP signature

Reply to: