times (original) (raw)

The times utility shall write the accumulated user and system times for the shell and for all of its child processes, in the following POSIX locale format:

"%dm%fs %dm%fs\n%dm%fs %dm%fs\n", <_shell user minutes_>, <_shell user seconds_>, <_shell system minutes_>, <_shell system seconds_>, <_children user minutes_>, <_children user seconds_>, <_children system minutes_>, <_children system seconds_>

The four pairs of times shall correspond to the members of the <sys/times.h> tms structure (defined in the Base Definitions volume of IEEE Std 1003.1-2001, Chapter 13, Headers) as returned by times(): tms_utime, tms_stime, tms_cutime, and tms_cstime, respectively.

The following sections are informative.

IEEE Std 1003.1-2001/Cor 1-2002, item XCU/TC1/D6/9 is applied, changing text in the DESCRIPTION from: ``Write the accumulated user and system times for the shell and for all of its child processes ...'' to: ``The times utility shall write the accumulated user and system times for the shell and for all of its child processes ...''.

End of informative text.