go to bug id or search bugs for
Although this resource usage is documented in PHP manual getrusage(),
ru_nwsap (number of swap) is not reported.
checking ext/standard/microtime.c, it's obviously not copied in the returned array.
Does exist a technical reason for that ?
Add a Patch
Add a Pull Request
It's not ru_nwsap but ru_nswap (typo).
Thanks vrana !
You're right, it's ru_nswap resource usage number of swap.
(as stated in title). So, back from bogus.
Do you have some answer about why it's not reported ?
This indeed is missing.
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
Thank you for the report, and for helping us make PHP better.
Thank YOU guys DOING PHP better.
Longing to get the change :)