I need to measure a query total execution time from inside a bash script.
Somebody told me to submit something like:
mysql --user="someuser" --password="pw" -D "dbname" -e 'your-sql-command;'
Is it right?
But how can I get the timing stats I need?
Best Answer
time
as in
Cool, huh?
From the
time
manpage