Log commands execution time – unix.stackexchange.com

I'd like to log execution time of my commands. Something like this: #!/usr/bin/env bash echo "$@" >> /tmp/times exec 3>&2 (/usr/bin/time -f "%e" "$@" 2>&3) 2>>/tmp/times ...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

Artikel Terkait

0 Comment to "Log commands execution time – unix.stackexchange.com"