getrusage() "works" on all platforms, AFAIK, at least in the POSIX sense: the fields are there, and they may or may not be filled in, but everything will compile. This is why I wonder if specifying a what usage ought to be logged (including nothing) wouldn't make sense. If you're on a platform that doesn't report I/O, that's your problem. If you aren't concerned with usage reporting, turn it off.
:wes