Feed on
Posts
Comments

to measure how much time a program takes to execute from the command-line, use the ‘time’ function.

for instance, to time the ‘date’ command:

>> time date
Wed Oct 31 14:12:41 EDT 2007

real    0m0.003s
user    0m0.000s
sys     0m0.002s


Bookmark and Share

if that was helpful ...

check out the other tips and tricks i've compiled on these pages. you might learn something else interesting!

Did I get this wrong? Let me know!

Trackback URI | Comments RSS