DEFINITIONS
Definitions More Info.
Definition ID
700
Title
LINUX
Category
BASH SCRIPT
Definition
Toplam sure - Elapsed Time
Definition Description
http://karytech.blogspot.com.tr/2012/04/elapsed-time-for-shell-scripts.html T1=$(date +%s) # Do something here T2=$(date +%s) diffsec="$(expr $T2 - $T1)" echo | awk -v D=$diffsec '{printf "Elapsed time: %02d:%02d:%02d\n",D/(60*60),D%(60*60)/60,D%60}'
RecordBy
cunay
Record Date
10-02-2016 16:23:49
Düzenle
Kopyala
Sil