logo

oasis-root

Compiled tree of Oasis Linux based on own branch at <https://hacktivis.me/git/oasis/> git clone https://anongit.hacktivis.me/git/oasis-root.git

times.1p (2990B)


  1. '\" et
  2. .TH TIMES "1P" 2017 "IEEE/The Open Group" "POSIX Programmer's Manual"
  3. .\"
  4. .SH PROLOG
  5. This manual page is part of the POSIX Programmer's Manual.
  6. The Linux implementation of this interface may differ (consult
  7. the corresponding Linux manual page for details of Linux behavior),
  8. or the interface may not be implemented on Linux.
  9. .\"
  10. .SH NAME
  11. times
  12. \(em write process times
  13. .SH SYNOPSIS
  14. .LP
  15. .nf
  16. times\fR
  17. .fi
  18. .SH DESCRIPTION
  19. The
  20. .IR times
  21. utility shall write the accumulated user and system times for the shell
  22. and for all of its child processes, in the following POSIX locale
  23. format:
  24. .sp
  25. .RS 4
  26. .nf
  27. "%dm%fs %dm%fs\en%dm%fs %dm%fs\en", <\fIshell user minutes\fR>,
  28. <\fIshell user seconds\fR>, <\fIshell system minutes\fR>,
  29. <\fIshell system seconds\fR>, <\fIchildren user minutes\fR>,
  30. <\fIchildren user seconds\fR>, <\fIchildren system minutes\fR>,
  31. <\fIchildren system seconds\fR>
  32. .fi
  33. .P
  34. .RE
  35. .P
  36. The four pairs of times shall correspond to the members of the
  37. .IR <sys/times.h>
  38. .BR tms
  39. structure (defined in the Base Definitions volume of POSIX.1\(hy2017,
  40. .IR "Chapter 13" ", " "Headers")
  41. as returned by
  42. \fItimes\fR():
  43. .IR tms_utime ,
  44. .IR tms_stime ,
  45. .IR tms_cutime ,
  46. and
  47. .IR tms_cstime ,
  48. respectively.
  49. .SH OPTIONS
  50. None.
  51. .SH OPERANDS
  52. None.
  53. .SH STDIN
  54. Not used.
  55. .SH "INPUT FILES"
  56. None.
  57. .SH "ENVIRONMENT VARIABLES"
  58. None.
  59. .SH "ASYNCHRONOUS EVENTS"
  60. Default.
  61. .SH STDOUT
  62. See the DESCRIPTION.
  63. .SH STDERR
  64. The standard error shall be used only for diagnostic messages.
  65. .SH "OUTPUT FILES"
  66. None.
  67. .SH "EXTENDED DESCRIPTION"
  68. None.
  69. .SH "EXIT STATUS"
  70. .IP "\00" 6
  71. Successful completion.
  72. .IP >0 6
  73. An error occurred.
  74. .SH "CONSEQUENCES OF ERRORS"
  75. Default.
  76. .LP
  77. .IR "The following sections are informative."
  78. .SH "APPLICATION USAGE"
  79. None.
  80. .SH EXAMPLES
  81. .LP
  82. .nf
  83. \fB$\fP times
  84. \fB0m0.43s 0m1.11s
  85. 8m44.18s 1m43.23s\fR
  86. .fi
  87. .SH "RATIONALE"
  88. The
  89. .IR times
  90. special built-in from the Single UNIX Specification is now required
  91. for all conforming shells.
  92. .SH "FUTURE DIRECTIONS"
  93. None.
  94. .SH "SEE ALSO"
  95. .IR "Section 2.14" ", " "Special Built-In Utilities"
  96. .P
  97. The Base Definitions volume of POSIX.1\(hy2017,
  98. .IR "\fB<sys_times.h>\fP"
  99. .\"
  100. .SH COPYRIGHT
  101. Portions of this text are reprinted and reproduced in electronic form
  102. from IEEE Std 1003.1-2017, Standard for Information Technology
  103. -- Portable Operating System Interface (POSIX), The Open Group Base
  104. Specifications Issue 7, 2018 Edition,
  105. Copyright (C) 2018 by the Institute of
  106. Electrical and Electronics Engineers, Inc and The Open Group.
  107. In the event of any discrepancy between this version and the original IEEE and
  108. The Open Group Standard, the original IEEE and The Open Group Standard
  109. is the referee document. The original Standard can be obtained online at
  110. http://www.opengroup.org/unix/online.html .
  111. .PP
  112. Any typographical or formatting errors that appear
  113. in this page are most likely
  114. to have been introduced during the conversion of the source files to
  115. man page format. To report such errors, see
  116. https://www.kernel.org/doc/man-pages/reporting_bugs.html .