16.12.2012 Views

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Option<br />

Usage Note<br />

Localization<br />

Exit Values<br />

Portability<br />

Related Information<br />

sh, tcsh<br />

on page 626). If necessary, an extra shell is created to print the time statistic when<br />

the command completes. Without command, time prints a time summary for the<br />

current shell and its children.<br />

–p Guarantees that the historical format of the time command is output.<br />

time is a built-in shell command.<br />

time uses the following localization environment variables:<br />

v LANG<br />

v LC_ALL<br />

v LC_CTYPE<br />

v LC_MESSAGES<br />

v LC_NUMERIC<br />

v NLSPATH<br />

See Appendix F for more information.<br />

If time successfully invokes command-line, it returns the exit status of<br />

command-line. Otherwise, possible exit status values are:<br />

0 Successful completion<br />

1 An error occurred in the time utility<br />

2 Failure due to an invalid command-line option<br />

2 Invalid command-line argument<br />

126 time found command but could not invoke it<br />

127 time could not find command<br />

P<strong>OS</strong>IX.2 User Portability Extension, X/Open Portability Guide, <strong>UNIX</strong> systems.<br />

times — Get process and child process times<br />

Format<br />

Description<br />

times [–p]<br />

time<br />

times displays user and system times accumulated by the shell and commands run<br />

as children of the shell. Times are displayed in minutes and seconds. User time is<br />

CPU time spent in user programs. <strong>System</strong> time is CPU time spent in the operating<br />

system on behalf of the user process.<br />

Chapter 2. Shell command descriptions 699

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!