*BSD News Article 78561


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!news.PBI.net!news.mathworks.com!newsfeed.internetmci.com!in1.uu.net!news.whistle.com!usenet
From: Julian Elischer <julian@whistle.com>
Newsgroups: comp.unix.programmer,comp.os.linux.development.apps,comp.unix.bsd.freebsd.misc
Subject: Re: System call for querying system load?
Date: Wed, 18 Sep 1996 16:27:02 -0700
Organization: Whistle Communications
Lines: 14
Message-ID: <32408546.500F9F30@whistle.com>
References: <51cjj1$1k7@news.cyberenet.net> <DxrMGE.59t@pe1chl.ampr.org> <51ha3d$3to@flash.noc.best.net>
NNTP-Posting-Host: s205m22.whistle.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.0b6 (X11; I; FreeBSD 2.2-CURRENT i386)
Xref: euryale.cc.adfa.oz.au comp.unix.programmer:43411 comp.os.linux.development.apps:22012 comp.unix.bsd.freebsd.misc:27496

Matthew Dillon wrote:

> :In article <DxrMGE.59t@pe1chl.ampr.org>, Rob Janssen <pe1chl@amsat.org> wrote:
>
>     Actually, there is a call now:  getloadavg(double loadavg[], int nelem),
>     but who knows whether it is compatible with anyone else's.
Under FreeBSD it;s a sysctl cariable that can be retrieved
from teh system using the sysctl facility...
vm.loadavg

e.g. sysctl vm.loadavg


julian