| Time (unix) |
Article Index for Time |
Website Links For Time |
Information AboutTime (unix) |
time is a command in the Unix operating systems. It is used to determine the duration of execution of a particular command. To use the command, simply precede any command by the word time, such as:: time lsWhen the command completes, time will report how long it took to execute in terms of user CPU time, system CPU time, and real time. The output format varies between different versions of the command, and some give additional statistics, as in this example:$ time host wikipedia.org wikipedia.org has address 207.142.131.235 0.000u 0.000s 0:00.17 0.0% 0+0k 0+0io 0pf+0w $ time(1) can exist as a standalone program (such as GNU time) or as a Shell builtin (e.g. in Tcsh or in Zsh ). METHOD OF OPERATION According to the source code of the GNU implementation of time, most information shown by time is derived from the wait3 system call. On systems that do not have a wait3 call that returns status information, the times system call is used instead.SEE ALSO EXTERNAL LINKS |
|
|