times builtin in Bourne shell

Guy Harris guy at auspex.auspex.com
Sat May 6 08:45:54 AEST 1989


>What does the "times" command of the Bourne shell actually tell me?  Is
>it user time + system time for sh itself, then user time + system time for 
>children?  I presume that it's a pretty simple rendering of the information
>returned by times().

Well, to quote from the SunOS 4.0 SH(1) (derived from the S5R3 one):

     times
          Print  the  accumulated  user  and  system  times   for
          processes run from the shell.

The first figure it prints is the user time for children of the shell,
the second figure is the system time for children of the shell; both are
given in minutes and seconds.



More information about the Comp.unix.wizards mailing list