times man page on HP-UX

Man page or keyword search:  
man Server   10987 pages
apropos Keyword Search (all sections)
Output format
HP-UX logo
[printable version]

times(2)							      times(2)

       times - get process and child process times

       fills  the structure pointed to by buffer with time-accounting informa‐
       tion.  The structure defined in is as follows:

	      struct tms {
		  clock_t     tms_utime;      /* user time */
		  clock_t     tms_stime;      /* system time */"
		  clock_t     tms_cutime;     /* user time, children */
		  clock_t     tms_cstime;     /* system time, children */

       This information comes from the calling process and each of its	termi‐
       nated  child  processes for which it has executed a or The times are in
       units of 1/seconds, where is processor dependent.  The value of can  be
       queried using the function (see sysconf(2)).

       is  the CPU time used while executing instructions in the user space of
       the calling process.

       is the CPU time used by the system on behalf of the calling process.

       is the sum of the and of the child processes.

       is the sum of the and of the child processes.

       Upon successful completion, returns the elapsed real time, in units  of
       1/of  a	second,	 since	an arbitrary point in the past (such as system
       start-up time).	This point does not change from one invocation	of  to
       another.	 If fails, (clock_t) −1 is returned and is set to indicate the

       has a granularity of one tick.  Processes which run less than one  tick
       may not register any value.

       fails if	      buffer  points  to  an  illegal  address.	  The reliable
		      detection of this error is implementation dependent.

       Not all CPU time expended by system  processes  on  behalf  of  a  user
       process is counted in the system CPU time for that process.

       time(1),	  exec(2),   fork(2),  gettimeofday(2),	 sysconf(2),  time(2),


List of man pages available for HP-UX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
Vote for polarhome
Free Shell Accounts :: the biggest list on the net