From owner-freebsd-hackers Wed Sep 17 01:57:46 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id BAA01175 for hackers-outgoing; Wed, 17 Sep 1997 01:57:46 -0700 (PDT) Received: from dyson.iquest.net (dyson.iquest.net [198.70.144.127]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id BAA01169 for ; Wed, 17 Sep 1997 01:57:31 -0700 (PDT) Received: (from root@localhost) by dyson.iquest.net (8.8.6/8.8.5) id DAA00161; Wed, 17 Sep 1997 03:41:33 -0500 (EST) From: "John S. Dyson" Message-Id: <199709170841.DAA00161@dyson.iquest.net> Subject: Re: cpu load In-Reply-To: from Zoltan Sebestyen at "Sep 17, 97 08:56:08 am" To: sebesty@cs.elte.hu (Zoltan Sebestyen) Date: Wed, 17 Sep 1997 03:41:33 -0500 (EST) Cc: hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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