Ubuntu Server 9.10
So there is the
time command which will show you the time it took for a specific process/command to run after the command has completed.
:~$ time ls real 0m0.020s user 0m0.000s sys 0m0.000s
I'd like to also collect the average CPU usage, Memory, and Disk (i/o) utilization after the process has completed using time (or another command if necessary). How can I accomplish this?
Mainly I am using this to benchmark MySQL import performance using different