home

Quickies, by Andrea Olivato

text

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

2 years ago

June 24, 2009
Comments (View)
blog comments powered by Disqus