Determining system load via an unix command...
From: seemanta dutta (seemanta_18_at_yahoo.com)
Date: 11/09/04
- Next message: Michael Kerrisk: "Re: File locking (Solaris)"
- Previous message: Brian Raiter: "Re: screen-like command that splits screen in half"
- Next in thread: QNils_O=2E_Sel=E5sdal=22?=: "Re: Determining system load via an unix command..."
- Reply: QNils_O=2E_Sel=E5sdal=22?=: "Re: Determining system load via an unix command..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
- Next message: Michael Kerrisk: "Re: File locking (Solaris)"
- Previous message: Brian Raiter: "Re: screen-like command that splits screen in half"
- Next in thread: QNils_O=2E_Sel=E5sdal=22?=: "Re: Determining system load via an unix command..."
- Reply: QNils_O=2E_Sel=E5sdal=22?=: "Re: Determining system load via an unix command..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|