Safe(r) resource_usage function along with output that indicates why there are no stats when that is the case.