PHP function getrusage()
Availability in PHP 4.0
Gets the current resource usages
Parameters
| Parameter | Data type | Default value | Note |
|---|---|---|---|
$who |
int |
null | If who is 1, getrusage will be called with RUSAGE_CHILDREN. |
Return values
array
an associative array containing the data returned from the system call. All entries are accessible by using their documented field names.