這是本文件的舊版!
測量執行時間
time command
如果你的對象是一個command或execution file,只要直接使用time就可達成:
time ./test.sh > /dev/nulloutput:
real 0m0.020s user 0m0.009s sys 0m0.020s
linux:shell_script:execution_time_measurement
這是本文件的舊版!
如果你的對象是一個command或execution file,只要直接使用time就可達成:
time ./test.sh > /dev/nulloutput:
real 0m0.020s user 0m0.009s sys 0m0.020s