Problem with shell command time in FC6
Hello,
I tried to use the command time in order to have the execution time of a shell script but I cant do anything with the output. I use a FC6.
I tried the following
#time myscript.sh > fic_result 2>fic_time
but it doesnt log anything in fic_time
I beleive it was the stderr? so how to get the result of the time command in a file?
If not possible, how to mesure the execution time of a shell?
Thx in advance
jeff.
|