Solved

load average result meaning on command "uptime"

Posted on 2002-05-21
8
1,537 Views
Last Modified: 2013-12-27
Hi,

   When i issue a command "uptime" in Solaris 7, it got the following output,

 12:28pm  up 82 day(s), 20:07,  16 users,  load average: 0.74, 0.79, 0.81

   I just want to ask for the detail meaning on the load average number values - "0.74, 0.79, 0.81"

   What does they mean? How much is defined to be high cpu utilization?
0
Comment
Question by:ckke
  • 4
  • 2
  • 2
8 Comments
 
LVL 38

Accepted Solution

by:
yuzh earned 50 total points
ID: 7026137
Hi
  "0.74, 0.79, 0.81"
  Means that the average number of jobs  in the run queue over the last 1, 5 and 15 minutes.
0
 
LVL 38

Expert Comment

by:yuzh
ID: 7026142
Use "sar" you can get a more detail output of your system,
do a man sar to find out how to set it up
0
 

Author Comment

by:ckke
ID: 7026396
Then that means in the above example,
there's 0.74 jobs is preforming in last 1 min,
0.79 jobs is performing in last 5 mins.
Am I right?
Moreover, how can i know, or what value will reveal that the CPU is highly utilized?
0
 
LVL 38

Expert Comment

by:yuzh
ID: 7026418
Yes, that what it means.

To get a better idea about your system, I thing you should use sar instead of uptime.

Just do:
     man sar
     to figure out how, if you have problem whith setting it up, please let me know.


     eg:
     login as root,
     edit your cronatb, add put the following:

   5,35 * * * * /usr/lib/sa/sa1 >/dev/null 2>&1
     
   After a few hour from the first time you put the above entry on the crontab, you can use sar to ckeck out you systems performance.
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

Author Comment

by:ckke
ID: 7027186
But i can't find the command sar in my solaris box.
where can i download it?
0
 
LVL 4

Expert Comment

by:besky
ID: 7027817
Running sar is overkill in this situation.

The number of processes in the run queue will almost always be close to one, thats ok.
If however you are starting to see 2-3 processes in queue constantly you have a busy system.
That doesnt mean that something is wrong just that the system is really busy.

commands like "vmstat 5" will give you some info on memory and cpu utilization. Important here is the "sr", that's the scan rate for the pagedaemon.

cpu power is almost never a problem, the problem is mostly processes competing for memory, context switching and maybe interrupts.

You dont say what version of Solaris you are running, the algorithms and memory mgmt has been changed in every release and they will cahange in S9 again.

If you have a pre Solaris 8 system this is useful in the /etc/system file
set priority_pageing=1

This means that processes has priority over mapping files into RAM. This is default from Solaris 8.

But with your numbers, 16 users and < 1 proc in queue you are ok.
Otherwise you will hear about it from the users

Ofcourse you can run sar if you like but its not that trivial AND all tracing consumes even more of system resourses.

hth
0
 
LVL 38

Expert Comment

by:yuzh
ID: 7028584
"sar" comes with Solaris, it should be:
/usr/sbin/sar

make sure that you have /usr/sbin in your PATH, if you want
to type "sar"
0
 
LVL 4

Expert Comment

by:besky
ID: 7029893
sar is part of the SUNWaccu package. It is on the second Solaris CD.
This means:
If you installed with core or user installationcluster you wont find sar on your system ( or chose to skip install from CD 2 )

installcluster could be found in the file /var/sadm/system/admin/CLUSTER
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now