From owner-freebsd-hackers Sat Nov 4 21:18:19 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from panzer.kdm.org (panzer.kdm.org [216.160.178.169]) by hub.freebsd.org (Postfix) with ESMTP id 3480F37B479; Sat, 4 Nov 2000 21:18:13 -0800 (PST) Received: (from ken@localhost) by panzer.kdm.org (8.9.3/8.9.1) id WAA14994; Sat, 4 Nov 2000 22:18:12 -0700 (MST) (envelope-from ken) Date: Sat, 4 Nov 2000 22:18:12 -0700 From: "Kenneth D. Merry" To: Mike Smith Cc: Poul-Henning Kamp , hackers@FreeBSD.ORG Subject: Re: user-space resource information... Message-ID: <20001104221812.A14843@panzer.kdm.org> References: <3248.973365649@critter> <200011041952.eA4JqZF11774@mass.osd.bsdi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <200011041952.eA4JqZF11774@mass.osd.bsdi.com>; from msmith@FreeBSD.ORG on Sat, Nov 04, 2000 at 11:52:35AM -0800 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, Nov 04, 2000 at 11:52:35 -0800, Mike Smith wrote: > > I'm wondering if this should have its own program, rather than squat > > in on iostat ? > > Adding yet another program for such a trivial fragment of code seems > kinda silly. If/when someone uses the other interfaces as well to get > the full device tree extracted, that probably belongs elsewhere, but > right now iostat is as good a place as any for this I think. I think vmstat(8) might be a better fit than iostat. vmstat already displays kernel memory usage (-m), interrupt usage (-i), paging stats (-s), and zone allocator stats (-z). iostat only displays cpu, tty and disk I/O. Since vmstat already has "kitchen sink" type functionality (i.e. a wide variety of uses), I think it would probably work better to put this new functionality there. iostat is also designed primarily for continuous output use -- displaying a line of stats every N seconds. vmstat is also designed for that in its default output mode, but most of the other displays I mentioned above are one-shot displays, like the rman code. So one more wouldn't hurt. The only thing that would recommend iostat for the rman code is the name, I think. (I/O ports, iostat, etc.) So, I'd like to request that you use vmstat instead of iostat. Ken -- Kenneth Merry ken@kdm.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message