I'm trying to measure the execution time of a process that I call via the command line (i.e., I want to find out how long it takes to for the process to finish). Is there any command that I can add to the command calling the process that will achieve this?
migrated from stackoverflow.com Jul 17 '11 at 12:35This question came from our site for professional and enthusiast programmers. |
|||
|
|
|||
|
Add The output will look like:
Explanation on
|
|||||||||||||
|
|
For a line-by-line delta measurement, try gnonom.
|
|||||||||
|
|
You can use
|
|||
|
|
Running this command in the terminal will give you the total time for coping a file |
||||
|
|
|
Occasionally I find myself needing a stopwatch to count how long it takes for an action like my app booting, in which case many of the solutions here are not useful. For this I like to use sw.
Install
Usage
|
||||
|
|

