time runs another program and keeps track of how much resources the program has spent. It prints these (normally to stdout) after the program exits.
Additional options (to be specified between
PROGRAM) allow for redirecting
time's output to file (
-o filename) optional with appending to that file (
-a) and for formatting of the output.