Gen. partnerAlgotech

PHP function getrusage()

Gets the current resource usages

|
September 11, 2019

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.

Other resources

Official getrusage documentation

Loading comments...

Stay in the loop

Subscribe to our newsletter and get the latest cybersecurity news delivered straight to your inbox.

Your data is safe. You can unsubscribe from the newsletter at any time.