Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Sep 1997 03:41:33 -0500 (EST)
From:      "John S. Dyson" <toor@dyson.iquest.net>
To:        sebesty@cs.elte.hu (Zoltan Sebestyen)
Cc:        hackers@FreeBSD.ORG
Subject:   Re: cpu load
Message-ID:  <199709170841.DAA00161@dyson.iquest.net>
In-Reply-To: <Pine.ULT.3.93.970917085140.5426A-100000@konig> from Zoltan Sebestyen at "Sep 17, 97 08:56:08 am"

next in thread | previous in thread | raw e-mail | index | archive | help
Zoltan Sebestyen said:
> Hi,
> 
>  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.
> 
We generally support the pseudo-MIB mechanism of sysctl.  Check out the
wonderful world of 'sysctl -A' or 'sysctl -a'.  The command that you might
want to try is 'sysctl vm.loadavg'.

-- 
John
dyson@freebsd.org
jdyson@nc.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199709170841.DAA00161>