Help for this page
top -b -n 1 | grep ^CPU
while(<PIPE>){ next unless /^CPU.*? ([0-9.]+)% idle, ([0-9.]+)% user/; ... ... last; }