Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

times(3)

time(1)  —  Commands

OSF

NAME

time − Times the execution of a command

SYNOPSIS

time command

DESCRIPTION

The time command prints the elapsed time during the execution of a command, the time spent in the system, and the time spent in execution of the command on the diagnostic output system.  Time is reported in seconds. 

The time command (with a different format) is also built into csh. 

EXAMPLES

To measure the time required to run a program, enter:

time a.out

This runs the program a.out and writes to the standard error output the amount of real, system, and user time that it uses:

real10.5
user 0.3
sys 3.6

RELATED INFORMATION

Functions:  times(3). 

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026