Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Sep 1997 10:06:24 -0700 (PDT)
From:      Tom <tom@sdf.com>
To:        John Hay <jhay@mikom.csir.co.za>
Cc:        Zoltan Sebestyen <sebesty@cs.elte.hu>, hackers@freebsd.org
Subject:   Re: cpu load
Message-ID:  <Pine.BSF.3.95q.970917100550.20301E-100000@misery.sdf.com>
In-Reply-To: <199709170755.JAA14014@zibbi.mikom.csir.co.za>

next in thread | previous in thread | raw e-mail | index | archive | help

On Wed, 17 Sep 1997, John Hay wrote:

> > 
> >  I'm searching for an easy way to get information cpu_load on FreeBSD. On
> > Linux people just reads /proc/stat, but that one won't work on FreeBSD.
> sysctl vm.loadavg

  getloadavg() might be better for use within a program.  It is portable
to all BSD4.4 systems.

> John
> -- 
> John Hay -- John.Hay@mikom.csir.co.za
> 
> 

Tom




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95q.970917100550.20301E-100000>