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
-
en inglés se llama “A potentially dangerous Request.Form value was detected from the client”. varias páginas indican dos cosas: 1. agrega...
-
Image to Tex [1] https://latexconvert.com/ [2] https://www.img2latex.xyz/convert [3] https://ai-math.io/image-to-latex [4] https://image2lat...
Image Flip to use on nemo
code in python for flip horizontal images: from PIL import Image import os import sys def flip_horizontal(input_path): # Split filenam...

No comments:
Post a Comment