timex
[options] command [arguments]Execute a command with optional arguments and print information specified by the time command. Report process data with various options.
-o
Show total number of blocks and characters used.
-p
suboptionsShow process accounting data with possible suboptions.
-s
Show total system activity.
-f
Include fork/exec flag and system exit status.
-h
Show "hog" factor (fraction of CPU time used) instead of mean memory size.
-k
Show total kcore-minutes instead of memory size.
-m
Show mean core size (this is the default behavior).
-r
Show CPU use percentage (user time / (system time + user time)).
-t
Show user and system CPU times.