marsadm: do resource checks once for a command