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

Re: bash command timer



-----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

- --
Ron Johnson, Jr.
Jefferson LA  USA

Is "common sense" really valid?
For example, it is "common sense" to white-power racists that
whites are superior to blacks, and that those with brown skins
are mud people.
However, that "common sense" is obviously wrong.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFGEtRS9HxQb37XmcRAm+7AJ9o9PSis2SQRzTZ6F9J9Mz1TMD8zwCg7ETn
+0igi/pNCo84tO4xlNnDD28=
=5+5p
-----END PGP SIGNATURE-----



Reply to: