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

Re: bash command timer



Ron Johnson wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 09/25/06 13:54, Hugo Vanwoerkom wrote:
Hi,

I am looking for a way to time scripts, how long they take to execute.

That has appeared in the list before, but now I can't find it.

I could write it myself, but I bet it exists already.

Are you referring to time(1)?

  $ time ./testmem
  Out of memory at 2802 M

  real    0m0.020s
  user    0m0.002s
  sys     0m0.017s


Aha! I am and it is a package that I did not have installed ;-)

Thanks!

H



Reply to: