From owner-freebsd-questions Wed Sep 26 6:19:57 2001 Delivered-To: freebsd-questions@freebsd.org Received: from lab.cyberlifelabs.com (lab.cyberlifelabs.com [208.201.255.2]) by hub.freebsd.org (Postfix) with SMTP id 2B95537B418 for ; Wed, 26 Sep 2001 06:19:55 -0700 (PDT) Received: (qmail 98767 invoked from network); 26 Sep 2001 13:19:54 -0000 Received: from linny.lab.cyberlifelabs.com (HELO there) (208.201.255.8) by lab.cyberlifelabs.com with SMTP; 26 Sep 2001 13:19:54 -0000 Content-Type: text/plain; charset="iso-8859-1" From: Milo Hyson Organization: CyberLife Labs, LLC To: freebsd-questions@freebsd.org Subject: Anybody know to read CPU and disk loads in software? Date: Wed, 26 Sep 2001 06:19:54 -0700 X-Mailer: KMail [version 1.3.1] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <20010926131955.2B95537B418@hub.freebsd.org> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I'm trying to write a program that samples CPU and disk loads in more-or-less realtime. I looked at the GKrellm sources, but neither of the two methods shown there (sysctl and kvm) seem to work. FreeBSD's /proc filesystem doesn't seem to be as comprehensive as Linux. Any help would be much appreciated. :) -- Milo Hyson CyberLife Labs, LLC To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message