getrusage() doesn't seem to return anything
| From: | August Zajonc | Date: | Wed, 23 Feb 2000 01:37:02 +0000 |
| Subject: | getrusage() doesn't seem to return anything | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-10682@lists.php.net to get a copy of this message | ||
Do any compile time switches need to be thrown for this to work? What are
the requirements to enable this baby.
The following code, taken from the manual returns nothing.
$dat = getrusage();
echo $dat[1];
echo $dat["ru_majflt"];
echo $dat["ru_utime.tv_sec"];
echo $dat["ru_utime.tv_usec"];
Help *much* appreciated.
August