Get your system load
How to get the system load only using uptime ouptut, filtered using awk.
uptime | awk -F'load average:' '{ print "Load: "$2 }'
On twitter @markkolich suggested me a quicker way to obtain the same result
cat /proc/loadavg
How to get the system load only using uptime ouptut, filtered using awk.
uptime | awk -F'load average:' '{ print "Load: "$2 }'
On twitter @markkolich suggested me a quicker way to obtain the same result
cat /proc/loadavg