$ man timex
User Commands timex(1)
timex - time a command; report process data and system
timex [-o] [-p [-fhkmrt]] [-s] command
The given command is executed; the elapsed time, user time
and system time spent in execution are reported in seconds.
Optionally, process accounting data for the command and all
its children can be listed or summarized, and total system
activity during the execution interval can be reported.
The output of timex is written on standard error.