You can use the time and timex commands to display formatted information about system activity while a particular command is running.
The -o and -p flags of the timex command require that system accounting be turned on.
time CommandNameOR
timex CommandName
timex -s CommandName
The timex command has two additional flags. The -o flag reports the total number of blocks read or written by the command and all of its children. The -p flag lists all of the process accounting records for a command and all of its children.