The Archives

  • 10.Dec.08
    Statistics on a program’s running time cmd | rafacas | (0)
    $ time real 1m0.004s user 0m30.020s sys 0m20.030s Runs (it could be any program). When finishes, time command outputs a message on stdout giving timing statistics about this program's running time. These contain the elapsed real time between invocation and termination, the user's CPU time, and the system's CPU time.
  • 17.Sep.08
    Time cmd | pfortuny | (0)
    $ time for i in `ls` ; do cat $i ; done Shows the 'real', 'user' and 'sys' time invested in the task.