bash - Execution time of a ksh script -
i want know execution time of ksh script, without editing or running script.
any command time taken script execute?
you can try time command below ;
root@host:/tmp:>cat test.ksh #!/bin/ksh echo started sleep 3 echo finished root@host:/tmp:>date; time ksh test.ksh ; date tue jul 19 14:36:43 eest 2016 started finished real 0m3.006s user 0m0.001s sys 0m0.002s tue jul 19 14:36:46 eest 2016
Comments
Post a Comment