Determining system load via an unix command...

From: seemanta dutta (seemanta_18_at_yahoo.com)
Date: 11/09/04


Date: 9 Nov 2004 00:15:40 -0800

Hi,

I work on a network with several unix/linux servers which are all
centralised via NIS/YP.

My work involves running a very memory and cpu intensive simulator.
For this purpose I intended to create an utility to know the server
with the least cpu load in order to run my simulator.

Is there any syscall to do this? Something like say using the proc
filesystem. I am not very knowledgeable about this and would like to
enlist your help in this matter.

My utility will work like this:
User shall log on into any server and issue the command 'loadreport'.
Probably the utility will get the server names to query from an input
file.

$ loadreport
  
server1: 10.4% load
server2: 12.8% load
server3: 89.7% load
server4: 0.9% load

$

My query is to know about a mechanism to determine the cpuload in the
system to a fair degree of accuracy.

Thanks in advance and for your patience and reading all the way up
here.

~Seemanta Dutta
               --May the source be with you.



Relevant Pages

  • Re: True Memory Use
    ... We had to actually measure our server (it can handle 1300 ... You have to measure it under load. ... Note that you have to expect 70 seconds for a reverse DNS lookup; ... But of course the GUI *does* consume cycles, so only load simulation is ...
    (microsoft.public.vc.mfc)
  • Re: the future of applications in JavaScript?
    ... more than one server has to be up for success. ... I can't imagine that a brower rendering engine needs to be hand written ... One is make the browser smarter and have longer load times ...
    (comp.lang.javascript)
  • Re: Can not change screen resolution (Fedora 5, gnome)
    ... It seems like I am not able to change my x server ... screen resolution from ... Load "extmod" ... Section "Monitor" ...
    (Fedora)
  • Re: Starting X - was Re: Vista / FreeBSD dual boot
    ... X connection to:0.0 broken (explicit kill or server shutdown) ... xorg-fonts-100dpi-7.3 X.Org 100dpi bitmap fonts ... Identifier "X.org Configured" ... Load "extmod" ...
    (freebsd-questions)
  • RE: OT: Sparc not dead yet
    ... When the server reboots, it again starts taking ... I've implimented Load Broker and supplimented it with LAN/IP failover ... Since replacing a card in a set might only take 5-10 ... I thought in terms of NICs we said LAN ...
    (comp.os.vms)