Code:
$ man timex
User Commands timex(1)
NAME
timex - time a command; report process data and system
activity
SYNOPSIS
timex [-o] [-p [-fhkmrt]] [-s] command
DESCRIPTION
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.