man(1) Manual page archive

tm(1) - Unix First Edition Manual Page
11/3/71TM (I)

NAME tm -- provide time information
SYNOPSIS tm [ command arg1 .... ]
DESCRIPTION tm is used to provide timing information. When used withoutan argument, output like the following is given:

tim 77:43:20 29.2ovh 13:59:42 1.2

dsk 12:06:30 4.1idl 352:31:37 23.7 usr 3:32:15 0.1der 5, 171 0, 0

The first column of numbers gives totals in the namedcategories since the last time the system was cold--booted; the second column gives the changes since the last time tmwas invoked. The tim row is total real time (hours:minutes:seconds); unlike the other times, its originis the creation date of tm's temporary file. ovh is time spent executing in the system; dsk is time spent waitingfor both kinds of disk I/O; idl is idle time; usr is user execution time; der is RF disk error count (left number)and RK disk error count (right number).

tm can be invoked with arguments which are assumed toconstitute a command to be timed. In this case the output is as follows:tim 2.2

ovh 0.3dsk 1.8 idl 0.0usr 0.0

The given times represent the number of seconds spent ineach category during execution of the command.
FILES /tmp/ttmp, /dev/rf0 (for absolute times) contains theinformation used to calculate the differential times.
SEE_ALSO format of file system (which tells where the times comefrom)

DIAGNOSTICS "?" if the command cannot be executed; "can't creat tempfile" if trouble with /tmp; "cant read super--block" if

times cannot be read from system.
BUGS (1) when invoked with a command argument, everything goingon at the moment is counted, not just the command itself.

(2) Two users doing tm

11/3/71TM (I)

simultaneously interfere with each other's use of thetemporary file.
OWNER ken, dmr