start_time=$(date +%s)
#run code
end_time=$(date +%s)
cost_time=$[$end_time - start_time]
echo "run time is $(($cost_time)) s"
shell 运行时间统计
おすすめ
転載: blog.csdn.net/a625750076/article/details/121403049
おすすめ
ランキング