TIME(1) General Commands Manual TIME(1)

timemeasure time used by a command

time [-p|-v] command [argument...]

time measures the wall-clock time, user CPU time, system/kernel CPU time, used by command and outputs it to stderr.

(default) Output in POSIX format.
Detailed output.

If command is invoked, the exit status should be the one given by command. Otherwise, it will exit with the following values:

1-125
An error occurred in command
126
command was found but couldn't be invoked
127
command could not be found

getrusage(3), times(3)

time should be compliant with the IEEE Std 1003.1-2024 (“POSIX.1”) specification.

Haelwenn (lanodan) Monnier <contact+utils@hacktivis.me>

2022-12-01 Linux 6.6.67-gentoo-x86_64