Sponsored Content
Top Forums UNIX for Advanced & Expert Users How is system load determined? Post 11581 by Patrick_Morris on Friday 7th of December 2001 05:20:25 PM
Old 12-07-2001
Found it

system load is the average length of the processor queue.
 

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
pset_getloadavg(3C)					   Standard C Library Functions 				       pset_getloadavg(3C)

NAME
pset_getloadavg - get system load averages for a processor set SYNOPSIS
#include <sys/pset.h> #include <sys/loadavg.h> int pset_getloadavg(psetid_t pset, double loadavg[], int nelem); DESCRIPTION
The pset_getloadavg() function returns the number of processes assigned to the specified processor set that are in the system run queue, averaged over various periods of time. Up to nelem samples are retrieved and assigned to successive elements of loadavg[]. The system imposes a maximum of 3 samples, representing averages over the last 1, 5, and 15 minutes, respectively. The LOADAVG_1MIN, LOADAVG_5MIN, and LOADAVG_15MIN indices, defined in <sys/loadavg.h>, can be used to extract the data from the appropri- ate element of the loadavg[] array. If pset is PS_NONE, the load average for processes not assigned to a processor set is returned. If pset is PS_MYID, the load average for the processor set to which the caller is bound is returned. If the caller is not bound to a pro- cessor set, the result is the same as if PS_NONE was specified. RETURN VALUES
Upon successful completion, the number of samples actually retrieved is returned. If the load average was unobtainable or the processor set does not exist, -1 is returned and errno is set to indicate the error. ERRORS
The pset_getloadavg() function will fail if: EINVAL The number of elements specified is less than 0, or an invalid processor set ID was specified. The caller is in a non-global zone, the pools facility is active, and the specified processor set is not that of the zone's pool. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Stable | +-----------------------------+-----------------------------+ |MT-Level |Async-Signal-Safe | +-----------------------------+-----------------------------+ SEE ALSO
uptime(1), w(1), psrset(1M), prstat(1M), pset_bind(2), pset_create(2), Kstat(3PERL), attributes(5) SunOS 5.10 28 Jun 2004 pset_getloadavg(3C)
All times are GMT -4. The time now is 10:08 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy