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

PROLOG

6       This  manual  page is part of the POSIX Programmer's Manual.  The Linux
7       implementation of this interface may differ (consult the  corresponding
8       Linux  manual page for details of Linux behavior), or the interface may
9       not be implemented on Linux.
10

NAME

12       times - write process times
13

SYNOPSIS

15       times
16

DESCRIPTION

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

OPTIONS

35       None.
36

OPERANDS

38       None.
39

STDIN

41       Not used.
42

INPUT FILES

44       None.
45

ENVIRONMENT VARIABLES

47       None.
48

ASYNCHRONOUS EVENTS

50       Default.
51

STDOUT

53       See the DESCRIPTION.
54

STDERR

56       The standard error shall be used only for diagnostic messages.
57

OUTPUT FILES

59       None.
60

EXTENDED DESCRIPTION

62       None.
63

EXIT STATUS

65       Zero.
66

CONSEQUENCES OF ERRORS

68       Default.
69
70       The following sections are informative.
71

APPLICATION USAGE

73       None.
74

EXAMPLES

76              $ times
77              0m0.43s 0m1.11s
78              8m44.18s 1m43.23s
79

RATIONALE

81       The  times  special  built-in from the Single UNIX Specification is now
82       required for all conforming shells.
83

FUTURE DIRECTIONS

85       None.
86

SEE ALSO

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