Solved

load average result meaning on command "uptime"

Posted on 2002-05-21
8
1,534 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
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

 

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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
netstat -a in AIX unix 8 26
pauing printer deamon in AIX 10 52
Max number of process in Solaris 10 2 17
Write an app 10 61
Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

707 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

20 Experts available now in Live!

Get 1:1 Help Now