I'm missing something obvious and need help. I'm trying to build a script to trigger an action/alert for a linux appliance when load average reaches a specific threshold.  Script looks like this: !/bin/bashload=`echo $(cat /proc/loadavg | awk '{print $2}')`if [ $load -gt 5 ]; then        echo foo alert!fiecho System Load $(cat /proc/loadavg)Credit to helloacm.com for getting me started here. When I run it, I get an error: ./foocheck.sh: line 4: [: 0.03: integer expression expectedWhich makes sense -- it's seeing the period/decimal and thinking that I'm comparing a string to an integer. The problem though, is that most solutions I've found for this involve bc -l which isn't available on this appliance.  I need to find a way to compare these values without using bc.  Any ideas? 
Error comparing decimal point integers in bash script
bash;numeric data
set -- $(cat /proc/loadavg)load=${2/./}if [ $load -ge 500 ]; then  echo alertfiGet the load average from /proc, and set the positional parameters based on those fields. Grab the 2nd field and strip out the period. If that (now numeric) value is greater than or equal to 500, alert. This assumes (the current) behavior where the load averages are presented to two decimal points. Thanks to Arrow for pointing out a better way.