Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX 11i Version 1.5 Reference Volume 1, Section 1: Commands > t

time(1)

» 

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Index

NAME

time — time a command

SYNOPSIS

time command

XPG4 only

time [-p] utility [argument ...]

DESCRIPTION

command is executed. Upon completion, time prints the elapsed time during the command, the time spent in the system, and the time spent executing the command. Times are reported in seconds.

Execution time can depend on the performance of the memory in which the program is running.

The times are printed on standard error.

Note that the shell also has a keyword time that times an entire pipeline if used anywhere in the pipeline, unlike time(1) command which times a particular command if used in a pipeline.

Options

time recognizes the following option:

-p

(XPG4 only.) Writes the timing statistics to standard error.

STANDARDS CONFORMANCE

time: SVID2, XPG2, XPG3, XPG4, POSIX.2

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1983-2001 Hewlett-Packard Development Company, L.P.