HomeMenu
Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

posix_times

Description

The posix_times of POSIX for PHP gets process times.

Syntax

posix_times(): array|false

Return

Returns a hash of strings with information about the current process CPU usage on success, false on failure.

IndexDescription
ticksthe number of clock ticks that have elapsed since reboot.
utimeuser time used by the current process.
stimesystem time used by the current process.
cutimeuser time used by current process and children.
cstimesystem time used by current process and children.

Examples

1 · void

<?

$return = posix_times();

print_r($return);
Array
(
    [ticks] => 708455267
    [utime] => 0
    [stime] => 0
    [cutime] => 0
    [cstime] => 0
)