Use get_used_resources for server handler