check avail cores in all resources