From owner-freebsd-questions Thu Jul 2 06:09:58 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA17327 for freebsd-questions-outgoing; Thu, 2 Jul 1998 06:09:58 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from enigami.com (enigami.com [208.140.182.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA17316 for ; Thu, 2 Jul 1998 06:09:56 -0700 (PDT) (envelope-from ckempf@enigami.com) Received: from singularity.enigami.com (singularity.enigami.com [208.140.182.42]) by enigami.com (8.9.0/8.9.0) with ESMTP id IAA01195 for ; Thu, 2 Jul 1998 08:58:13 -0400 (EDT) Received: (from ckempf@localhost) by singularity.enigami.com (8.9.0/8.9.0) id IAA06703; Thu, 2 Jul 1998 08:58:11 -0400 (EDT) To: freebsd-questions@FreeBSD.ORG Subject: Re: FreeBSD equiv. of /proc/loadavg References: From: Cory Kempf Date: 02 Jul 1998 08:58:10 -0400 In-Reply-To: ADRIAN Filipi-Martin's message of "Thu, 2 Jul 1998 04:43:05 -0400 (EDT)" Message-ID: Lines: 30 X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG ADRIAN Filipi-Martin writes: > On Thu, 2 Jul 1998, Donn Miller wrote: > > Am looking for the FreeBSD equivalent of the Linux file /proc/loadavg. I > > want to use this instead of using getloadavg(). > > > > Linux FreeBSD > > ===== ======= > > /proc/loadavg ??? (probably /kernel) /kern/loadavg > > /proc/uptime ??? (probably /kernel) /kern/boottime -- I think you will need to do your own math. Also check out /kern/time. > There has been talk of a /kernelfs, but I doubt that will be happening > anytime soon. There is a kernfs in -current. As it happens, it is running on my system. +C -- Thinking of purchasing RAM from the Chip Merchant? Please read this first: Cory Kempf Macintosh / Unix Consulting & Software Development ckempf@enigami.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message