Monday, March 26, 2018
Ubuntu how to get interval time for run Application
howmuchdelay.sh
T="$(date +%s%N)"
# Do some work here
$1 $2 $3 $4 $5 #sleep 2
# Time interval in nanoseconds
T="$(($(date +%s%N)-T))"
# Seconds
S="$((T/1000000000))"
# Milliseconds
M="$((T/1000000))"
printf "Take: %02d:%02d:%02d:%02d.%03d\n" "$((S/86400))" "$((S/3600%24))" "$((S/60%60))" "$((S%60))" "${M}"
Subscribe to:
Post Comments (Atom)
-
Resources: [1] Hela https://ome.grc.nia.nih.gov/iicbu2008/hela/index.html
-
mas plugins http://devsnippets.com/reviews/using-jquery-to-style-design-elements-20-impressive-plugins.html http://www.extjs.com/deploy/dev/...
-
Episodios: Épisode 1 : La Libertina de calidad (Le Libertin de qualité) Épisode 2 : La Apuesta de las tres cotillas (La Gageure des tr...
Vectorize PNG to SVG
No Login [1] https://www.freeconvert.com/png-to-svg [2] https://svg-converter.com/potrace Loging required [2] https://www.recraft.ai [3]...
No comments:
Post a Comment