WIN32_PS_STAT_PROC(3) 1 WIN32_PS_STAT_PROC(3)
win32_ps_stat_proc - Stat process
SYNOPSIS
array win32_ps_stat_proc ([int $pid])
DESCRIPTION
Retrieves statistics about the process with the process id $pid.
PARAMETERS
o $pid
- The process id of the process to stat. If omitted, the id of the current process.
RETURN VALUES
Returns FALSE on failure, or an array consisting of the following information on success:
o $pid
- The process id.
o $exe
- The path to the executable image.
o $mem
- An array containing information about the following memory utilization indicators: $page_fault_count, $peak_working_set_size,
$working_set_size, $quota_peak_paged_pool_usage, $quota_paged_pool_usage, $quota_peak_non_paged_pool_usage,
$quota_non_paged_pool_usage, $pagefile_usage and $peak_pagefile_usage.
o $tms
- An array containing information about the following CPU time utilization indicators: $created, $kernel and $user.
SEE ALSO
win32_ps_list_procs(3).
PHP Documentation Group WIN32_PS_STAT_PROC(3)