*BSD News Article 78582


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mira.net.au!news.vbc.net!samba.rahul.net!rahul.net!a2i!olivea!nntp-hub2.barrnet.net!cam-news-hub1.bbnplanet.com!news.mathworks.com!newsfeed.internetmci.com!nol.net!not-for-mail
From: weigand@dazed.nol.net (Steve Weigand)
Newsgroups: comp.unix.programmer,comp.os.linux.development.apps,comp.unix.bsd.freebsd.misc
Subject: Re: System call for querying system load?
Date: 18 Sep 1996 23:13:44 -0500
Organization: Networks On-Line
Lines: 20
Message-ID: <51qh9o$bl1@dazed.nol.net>
References: <51cjj1$1k7@news.cyberenet.net> <DxrMGE.59t@pe1chl.ampr.org> <51htd7$19t@main.gbdata.com>
Reply-To: weigand@nol.net
NNTP-Posting-Host: dazed.nol.net
Xref: euryale.cc.adfa.oz.au comp.unix.programmer:43405 comp.os.linux.development.apps:22006 comp.unix.bsd.freebsd.misc:27483

In article <51htd7$19t@main.gbdata.com>,
Gary Clark II <gclarkii@main.gbdata.com> wrote:
>In article <DxrMGE.59t@pe1chl.ampr.org>, Rob Janssen <pe1chl@amsat.org> wrote:
>>In <51cjj1$1k7@news.cyberenet.net> harry@cyberenet.net (Harry Hochheiser) writes:
>
>>>I'm looking for a system call/subroutine that will let me query the system 
>>>load.  This call would return information similar to that found in uptime(1), 
>>>and should be roughly portable across BSD-like Unixes (i.e, Linux's sysinfo() 
>>>won't work, even though that's my primary environment.



If you have rpc up and running and can do an "rup" on the machine,
that may be the easiest way.

C yas,
  - Steve Weigand
    (weigand@nol.net)