Measuring CPU Load

Various tools are available for monitoring CPU load, but it’s usually the combination of these tools that provides the most useful data.

Other than just showing how long the system has been up, the uptime command can be used to give you a rough estimate of the system load. The uptime command prints the current time, the length of time that the system has been up, and the average number of jobs in the run queue over the last 1, 5, and 15 minutes. When I type the uptime command, the system responds with the following:

11:23am  up 2 day(s), 19:15,  1 user,  load average: 0.01, 0.02, 0.04 

Let’s look at the load average numbers. The load average is the sum of the run queue length and the number of jobs currently running on ...

Get Inside Solaris™ 9 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.