From owner-freebsd-hackers Fri Jul 27 13:54: 5 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from pdxpo.dsl-only.net (sub16-3.member.dsl-only.net [63.105.16.3]) by hub.freebsd.org (Postfix) with ESMTP id 065EC37B401 for ; Fri, 27 Jul 2001 13:54:04 -0700 (PDT) (envelope-from pdxmax@dsl-only.net) Received: from tabor.office.archimedesoft.com (unverified [63.105.19.225]) by pdxpo.dsl-only.net (Rockliffe SMTPRA 4.5.4) with ESMTP id for ; Fri, 27 Jul 2001 13:50:01 -0700 Date: Fri, 27 Jul 2001 13:54:01 -0700 From: Tabor Kelly X-Mailer: The Bat! (v1.49) UNREG / CD5BF9353B3B7091 Reply-To: Tabor Kelly X-Priority: 3 (Normal) Message-ID: <1801448262.20010727135401@dsl-only.net> To: freebsd-hackers@FreeBSD.ORG Subject: Collecting System Statistics Programatically Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I have found how to collect limited system statistics with sysctlbyname(), but I need to know how to do more. In specific I need to know how much memory is being used, and what percentage of processor cycles are being used. Any help is greatly appreciated, Thank You. Tabor Kelly To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message