Name
getrusage
Synopsis
array getrusage([int who
])
Returns an associative array of information describing the
resources being used by the process running the current script. If
who
is specified and is equal to 1
, information about the process’s children
is returned. A list of the keys and descriptions of the values can be
found under the getrusage(2)
Unix
command.
Get Programming PHP, 3rd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.