unixdev.net


Switch to SpeakEasy.net DSL

The Modular Manual Browser

Home Page
Manual: (HP-UX-11.11)
Page:
Section:
Apropos / Subsearch:
optional field



 time(1)							     time(1)




 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.

 SEE ALSO
      sh(1), timex(1), times(2).

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




















 Hewlett-Packard Company	    - 1 -   HP-UX Release 11i: November 2000