From owner-freebsd-hackers Fri Jan 11 8:48:54 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id 3363137B404 for ; Fri, 11 Jan 2002 08:48:47 -0800 (PST) Received: (from dan@localhost) by dan.emsphone.com (8.11.6/8.11.6) id g0BGmfM22818; Fri, 11 Jan 2002 10:48:41 -0600 (CST) (envelope-from dan) Date: Fri, 11 Jan 2002 10:48:41 -0600 From: Dan Nelson To: Wilko Bulte Cc: Dustin Puryear , freebsd-hackers@FreeBSD.ORG Subject: Re: sar on FreeBSD Message-ID: <20020111164840.GI26342@dan.emsphone.com> References: <5.1.0.14.0.20020110200054.033683f0@pop.netaddress.com> <20020111171654.A29484@freebie.xs4all.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020111171654.A29484@freebie.xs4all.nl> User-Agent: Mutt/1.3.25i X-OS: FreeBSD 5.0-CURRENT X-message-flag: Outlook Error 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 In the last episode (Jan 11), Wilko Bulte said: > On Thu, Jan 10, 2002 at 08:03:36PM -0600, Dustin Puryear wrote: > > After a month of futile searching I am unable to find a sar-like > > tool available for FreeBSD. I was alerted to the SNMP capabilities > > of FreeBSD. However, it would still be nice to have a system-level > > tool available that doesn't require SNMP. Does anyone know of > > anything for FreeBSD that is sar-like? If a sar-like tool isn't > > available, I may just begin writing Sar and SNMP provide completely different services. Sar gives you historical reports, where SNMP is a network service that gives you only the current value of a stat. > sar comes from the SysV world. You would probably also need counters > in the kernel to gather statistics. At least that is how SysV does > it. Sounds like a lot of work to me. There are already kernel counters for most (probably all) of the things sar would need to measure. The only problem is writing sar, sa1, sa2, and sadc. If you don't mind the GPL, the Linux systat package includes an implementation of sar. In 1999, SCO promised to release their source under MPL, but never did. -- Dan Nelson dnelson@allantgroup.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message