?
Solved

load average result meaning on command "uptime"

Posted on 2002-05-21
8
Medium Priority
?
1,548 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
  • 2
8 Comments
 
LVL 38

Accepted Solution

by:
yuzh earned 150 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
Get real performance insights from real users

Key features:
- Total Pages Views and Load times
- Top Pages Viewed and Load Times
- Real Time Site Page Build Performance
- Users’ Browser and Platform Performance
- Geographic User Breakdown
- And more

 
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
 

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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
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…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Suggested Courses

752 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