Clever Geek Handbook
📜 ⬆️ ⬇️

time (Unix)

time - unix -utility that returns the execution time of a simple command or getting a hint on a resource. When the command completes, time prints to standard output a statistical message about the time used during this run. This statistic contains:

  • real time between call and end
  • the CPU time that the user took (the sum of the tms_utime and tms_cutime values in the struct tms structure, which is returned by the times call)
  • CPU time occupied by the system (the sum of the tms_stime and tms_cstime values in the struct tms structure, which is returned by the times call).

Use

  • time [options] command [arguments ...]

Launch Options

-p
When the POSIX locale is used, the exact traditional format is used.
  "real% f \ nuser% f \ nsys% f \ n"
(with numbers in seconds), where the number of digits in the output for% f is not specified, but it is sufficient for an exact expression of time and, at least, at least one digit.

Links

  • time(1) - Linux developer man help page - user commands (English)
  • time(1) - man help page for OpenBSD user commands (eng.)
  • time(1) - man help page on FreeBSD user commands (eng.)
Source - https://ru.wikipedia.org/w/index.php?title=Time_(Unix)&oldid=96871568


More articles:

  • Computer lesson support
  • Zugspitze
  • Nikol'skii, Nikolai Vasilievich
  • Levy (Quebec)
  • Mazarovich, Alexander Olegovich
  • Shironintsy
  • Dzhaksybekov, Adilbek Ryskeldinovich
  • Harama
  • Lucas, Edward
  • Double Geneva

All articles

Clever Geek | 2019