! # / bin / the bash # sys% plus User% is the performance criteria User_sys_a SAR = `. 3. 1 -u | tail -1 | awk '{$. 3 Print" + "}. 5 $' |` BC # as above User_sys_a xx.xx output there will be two decimal places, and below 85 are not directly comparable # so use printf format output User_sys = `printf"% .0f "$ User_sys_a` # User_sys companies generally will be worth the quality defined in 85 this threshold IF [$ User_sys -gt 85]; the then echo "Bad" the else echo "Good" Fi