我想显示脚本的完成时间。
我目前做的是——
#!/bin/bash date ## echo the date at start # the script contents date ## echo the date at end
这只是显示脚本开始和结束的时间。是否可以显示像处理器时间/ io 时间等细粒度的输出?
bash profiling
bash ×1
profiling ×1