Queries machine resource information based on thresholds