Sponsored Content
Top Forums UNIX for Advanced & Expert Users How is system load determined? Post 11603 by Perderabo on Saturday 8th of December 2001 12:29:00 PM
Old 12-08-2001
Re: Found it

Quote:
Originally posted by Patrick_Morris
system load is the average length of the processor queue.
I would be interested to know where you found that particular language. The man page for uptime says
Quote:
the average number of jobs in the run queue
which is very close to your language. I encountered many cases where this didn't seem to jibe with reality so I took a peek at the source code.

Rather than looking at the run queue, the load is actually computed by scanning the proc table. A process is counted if
  • it is runnable (in the run queue)
  • if it is running (in a cpu)
  • if it sleeping with a priority lower than PZERO

That last one is intended to cover processes that are waiting for disk i/o to complete. And the load is divided by the number of cpu's.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

determining the load on a system

I know that top reports the load, but what other command line utility will display the load on a system running Solaris 2.6? Thanks, Chuck (3 Replies)
Discussion started by: 98_1LE
3 Replies

2. Debian

system load tool

hi. i'm searching for a tool that shows the system load of dual-box. something like "top", but with a column for each cpu and (optionally) memory usage shown in kb. it needs to be a command line tool because the box is a server and so it has no xserver running. i've already searched google,... (0 Replies)
Discussion started by: mikester
0 Replies

3. Filesystems, Disks and Memory

cannot load any operating system

I've tried installing Linux (SuSE because it's the easiest disc I had on hand) and Windows, and neither can boot. The specific problems are below. With Linux: During the installation, I get error message on most of the packages, even though I left all of them up to the default, and it sais... (3 Replies)
Discussion started by: Derrek
3 Replies

4. Shell Programming and Scripting

Need help in wrting Load Script for a Load-Resume type of load.

hi all need your help. I am wrting a script that will load data into the table. then on another load will append the data into the existing table. Regards Ankit (1 Reply)
Discussion started by: ankitgupta
1 Replies

5. HP-UX

HP-UX File System device load

Hi Guys, I am new to HP-UX system, can someone please let me know which file or what process is require to load all the devices when the system boot up. Currently I am having a few issue when starting the system it does not load all the device. Cheers, (0 Replies)
Discussion started by: fkaba81
0 Replies

6. UNIX for Advanced & Expert Users

What's a high load for my system?

I'm not sure if this belong in dummies or advanced so I made my best guess. Go easy on me if I get it wrong. I'm trying to determine what a high load for my system is. I run a php/mysql web server with a dedicated host. The host has a Intel Xeon 3110 (Dual Core) processor. Our load seems to... (5 Replies)
Discussion started by: vanguard
5 Replies

7. Shell Programming and Scripting

System Health - Cpu, Load, IO Monitor

hello there, can someone please tell me the commands that makes sense, from a production point of view, to be used to make sure CPU, LOAD or IO usages on a Linux or Solaris server isn't too high? I'm aware of vmstat, iostat, sar. But i seriously need real world advice as to what fields in... (1 Reply)
Discussion started by: SkySmart
1 Replies

8. Infrastructure Monitoring

SNMP responses failing under high system load

Greetings, I've got a Zenoss v2.5 server monitoring a large video encoding farm. Needless to say, these systems are under high bandwidth and CPU utilization the majority of the time. What I'm running into is that, occasionally, these systems will fail to respond to a standard SNMP request,... (1 Reply)
Discussion started by: Karunamon
1 Replies

9. Shell Programming and Scripting

ksh Array name determined at runtime

I'm working on a ksh script and was wondering if anyone knows if it's possible to access an array by a variable that is determined at runtime? I have created a test example below, but essentially I will have declared and populated an array (see colorArray below). What I'd like to do is access... (9 Replies)
Discussion started by: bs103950
9 Replies
RUP(1)							    BSD General Commands Manual 						    RUP(1)

NAME
rup -- remote status display SYNOPSIS
rup [-dhlt] [host ...] DESCRIPTION
rup displays a summary of the current system status of a particular host or all hosts on the local network. The output shows the current time of day, how long the system has been up, and the load averages. The load average numbers give the number of jobs in the run queue aver- aged over 1, 5 and 15 minutes. The following options are available: -d For each host, report what it's local time is. This is useful for checking time synchronization on a network. -h Sort the display alphabetically by host name. -l Sort the display by load average. -t Sort the display by up time. The rpc.rstatd(8) daemon must be running on the remote host for this command to work. rup uses an RPC protocol defined in /usr/include/rpcsvc/rstat.x. EXAMPLES
example% rup otherhost otherhost up 6 days, 16:45, load average: 0.20, 0.23, 0.18 example% DIAGNOSTICS
rup: RPC: Program not registered The rpc.rstatd(8) daemon has not been started on the remote host. rup: RPC: Timed out A communication error occurred. Either the network is excessively congested, or the rpc.rstatd(8) daemon has terminated on the remote host. rup: RPC: Port mapper failure - RPC: Timed out The remote host is not running the portmapper (see rpcbind(8)), and cannot accommodate any RPC-based services. The host may be down. SEE ALSO
ruptime(1), rpc.rstatd(8), rpcbind(8) HISTORY
The rup command appeared in SunOS. BSD
June 7, 1993 BSD
All times are GMT -4. The time now is 03:39 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy