getrusage()
getrusage - Gets the current resource usages
Syntax
array getrusage (
int $who)
Arguments
- who - If who is 1, getrusage will be called with RUSAGE_CHILDREN.
Description
This is an interface to getrusage(2). It gets data returned from the system call.
Version
PHP 4, 5
Return value
Returns an associative array containing the data returned from the system call. All entries are accessible by using their documented field names.