Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 7 Nov 2002 12:13:31 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 7 Nov 2002 12:13:31 -0500 Received: from tmr-02.dsl.thebiz.net ([216.238.38.204]:25612 "EHLO gatekeeper.tmr.com") by vger.kernel.org with ESMTP id ; Thu, 7 Nov 2002 12:13:28 -0500 Date: Thu, 7 Nov 2002 12:19:15 -0500 (EST) From: Bill Davidsen To: "Albert D. Cahalan" cc: linux-kernel@vger.kernel.org, mbligh@aracnet.com, jw@pegasys.ws, wa@almesberger.net, rml@tech9.net, andersen@codepoet.org, woofwoof@hathway.com Subject: Re: ps performance sucks In-Reply-To: <200211052139.gA5LdIc373506@saturn.cs.uml.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1311 Lines: 33 On Tue, 5 Nov 2002, Albert D. Cahalan wrote: > > Strace it - IIRC it does 5 opens per PID. Vomit. > > Nope, it does 2. Perhaps you're not running procps 3 yet? > http://procps.sf.net/ > > Of course if you do something like "ps ev" you need all 5. Well, since you're doing all this stuff to push your version, how about an option to do a fast ps for most processes and only do the hard work for processes owned by a given user. Or not owned, so everything not root would be shown in detail, as an example. What about showing or not threads, or showing minimal detail (fast) for threads. There is a lot of room for options if you want to see everything but only detail for some. I wish competing procps could be merged, I feel as though it's something not requiring the time of top kernel developers. If you are willing to add features suggested by others and they are willing to push a feature list to you maybe that could happen. -- bill davidsen CTO, TMR Associates, Inc Doing interesting things with little computers since 1979. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/