Skip to main content
LPIC-2 Exam 201

uptime, w, top sar -q

LPIC-2-201The final elements of objective 200.1 of the PIC LPIC-2 exam 117-201 that we will look at is the Load Averages that we can read from from a range of tools on the Linux command line interface. using CentOS 6.5 will will show examples of this use uptime, w, top and sar -q. We will also throw a little memory monitoring in with free and swapon -s.

Starting of with uptime the output will show, well the uptime but will end with the Load Average over the last 1, 5 and 15 minutes. The values for these are considered high if the exceed the number of |CPUs we have for any lengthened amount of time. For 1 CPU we do not want to see a Load Value of 1 certainly in the 15 Minute column.

This same information can be seen with w, top and if we have the sysstat package sar -q.

sar-q