[comp.unix.xenix.sco] Systemload output from "w": what does it mean?

bill@twg.wimsey.bc.ca (Bill Irwin) (09/26/90)

I like the output from the "w" command and use it instead of "finger".  I
like  seeing the current process running for each user.  It also gives me
some info that I am curious about.

It  reports  "load  average" followed by three sets  of  numbers.   These
numbers  get  higher as more users come on the system, as  they  probably
should,  but why three of them?  What is considered medium or heavy  load
conditions?  Is it measuring cpu usage and/or swapping and/or disk i/o?

I  am running SCO XENIX 2.3.2.  The help command doesn't know about  "w".
Anyone familiar with this?
-- 
Bill Irwin    -   TWG The Westrheim Group     -    Vancouver, BC, Canada
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
uunet!van-bc!twg!bill     (604) 431-9600 (voice) |     UNIX Systems
bill@twg.wimsey.bc.ca     (604) 431-4329 (fax)   |     Integration

alan@mq.COM (Alan H. Mintz) (09/27/90)

In article <262@twg.wimsey.bc.ca>, bill@twg.wimsey.bc.ca (Bill Irwin) writes:
> [the "w" command]  reports "load  average" followed by three sets  of  numbers.   These
> numbers  get  higher as more users come on the system, as  they  probably
> should,  but why three of them?  What is considered medium or heavy  load
> conditions?  Is it measuring cpu usage and/or swapping and/or disk i/o?
> 
> I  am running SCO XENIX 2.3.2.  The help command doesn't know about  "w".
> Anyone familiar with this?

From TFM w(C):

"Load averages are the number of processes in the run queue averaged over
1, 5, and 15 minutes"
-- 
< Alan H. Mintz             | Voice +1 714 980 1034       >
< Micro-Quick Systems, Inc. | FAX   +1 714 944 3995       >
< 10384 Hillside Road       | uucp:     ...!uunet!mq!alan >
< Alta Loma, CA  91701 USA  | Internet: alan@MQ.COM       >

cat@tygra.ddmi.com (CAT-TALK Maint. Account) (09/28/90)

In article <262@twg.wimsey.bc.ca> bill@twg.wimsey.bc.ca (Bill Irwin) writes:
}I like the output from the "w" command and use it instead of "finger".  I
}like  seeing the current process running for each user.  It also gives me
}some info that I am curious about.
}
}It  reports  "load  average" followed by three sets  of  numbers.   These
}numbers  get  higher as more users come on the system, as  they  probably
}should,  but why three of them?  What is considered medium or heavy  load
}conditions?  Is it measuring cpu usage and/or swapping and/or disk i/o?
}

Those numbers are the average number of processes in the run queue (ie:
waiting for a CPU time slice) over the past 1, 5 and 15 minute(s),
respectivly. Ie:

7:31  up 2 days, 18:44,  3 users, load average: 0.17, 0.04, 0.00
 
means that at 7:31pm, there was an average of:               
     0.17 processes waiting for the CPU in the past minute,
     0.04  "        "               "      "      " 5 minutes and
     0.00  "        "               "      "      " 15 minutes. 
 
jpp@ddmi.com