or more simple cat /proc/loadavg |awk '{print $1}' On 20.04.2015 09:40, Shabbir abbasi wrote: > $cpuload = `uptime |awk -F 'load average:' ' {print \$2}'| awk -F '[ > ]' ' {print \$2}' | awk '{gsub(",", "");print \$1}' `;