1TIMES(P)                   POSIX Programmer's Manual                  TIMES(P)
2
3
4

NAME

6       times - write process times
7

SYNOPSIS

9       times
10

DESCRIPTION

12       The times utility shall write the accumulated user and system times for
13       the shell and for all of its child processes, in  the  following  POSIX
14       locale format:
15
16
17              "%dm%fs %dm%fs\n%dm%fs %dm%fs\n", <shell user minutes>,
18                  <shell user seconds>, <shell system minutes>,
19                  <shell system seconds>, <children user minutes>,
20                  <children user seconds>, <children system minutes>,
21                  <children system seconds>
22
23       The  four  pairs  of  times  shall  correspond  to  the  members of the
24       <sys/times.h> tms structure (defined in the Base Definitions volume  of
25       IEEE Std 1003.1-2001,  Chapter  13,  Headers)  as  returned by times():
26       tms_utime, tms_stime, tms_cutime, and tms_cstime, respectively.
27

OPTIONS

29       None.
30

OPERANDS

32       None.
33

STDIN

35       Not used.
36

INPUT FILES

38       None.
39

ENVIRONMENT VARIABLES

41       None.
42

ASYNCHRONOUS EVENTS

44       Default.
45

STDOUT

47       See the DESCRIPTION.
48

STDERR

50       The standard error shall be used only for diagnostic messages.
51

OUTPUT FILES

53       None.
54

EXTENDED DESCRIPTION

56       None.
57

EXIT STATUS

59       Zero.
60

CONSEQUENCES OF ERRORS

62       Default.
63
64       The following sections are informative.
65

APPLICATION USAGE

67       None.
68

EXAMPLES

70              $ times
71              0m0.43s 0m1.11s
72              8m44.18s 1m43.23s
73

RATIONALE

75       The times special built-in from the Single UNIX  Specification  is  now
76       required for all conforming shells.
77

FUTURE DIRECTIONS

79       None.
80

SEE ALSO

82       Special Built-In Utilities
83
85       Portions  of  this text are reprinted and reproduced in electronic form
86       from IEEE Std 1003.1, 2003 Edition, Standard for Information Technology
87       --  Portable  Operating  System  Interface (POSIX), The Open Group Base
88       Specifications Issue 6, Copyright (C) 2001-2003  by  the  Institute  of
89       Electrical  and  Electronics  Engineers, Inc and The Open Group. In the
90       event of any discrepancy between this version and the original IEEE and
91       The  Open Group Standard, the original IEEE and The Open Group Standard
92       is the referee document. The original Standard can be  obtained  online
93       at http://www.opengroup.org/unix/online.html .
94
95
96
97IEEE/The Open Group                  2003                             TIMES(P)
Impressum