php man page for posix_times

Query: posix_times

OS: php

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

POSIX_TIMES(3)								 1							    POSIX_TIMES(3)

posix_times - Get process times

SYNOPSIS
array posix_times (void )
DESCRIPTION
Gets information about the current CPU usage.
RETURN VALUES
Returns a hash of strings with information about the current process CPU usage. The indices of the hash are: o ticks - the number of clock ticks that have elapsed since reboot. o utime - user time used by the current process. o stime - system time used by the current process. o cutime - user time used by current process and children. o cstime - system time used by current process and children.
NOTES
Warning This function isn't reliable to use, it may return negative values for high times.
EXAMPLES
Example #1 Example use of posix_times(3) <?php $times = posix_times(); print_r($times); ?> The above example will output something similar to: Array ( [ticks] => 25814410 [utime] => 1 [stime] => 1 [cutime] => 0 [cstime] => 0 ) PHP Documentation Group POSIX_TIMES(3)
Related Man Pages
times(2) - opensolaris
times(2) - redhat
times(2) - sunos
times(2) - debian
times(3) - osf1
Similar Topics in the Unix Linux Community
Turn given time into HiRes time.
Oracle DB install failure