From owner-freebsd-questions@FreeBSD.ORG Sat Jan 13 03:22:54 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E3B0816A40F for ; Sat, 13 Jan 2007 03:22:54 +0000 (UTC) (envelope-from keramida@freebsd.org) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id 6376F13C457 for ; Sat, 13 Jan 2007 03:22:52 +0000 (UTC) (envelope-from keramida@freebsd.org) Received: from kobe.laptop (dialup120.ach.sch.gr [81.186.70.120]) (authenticated bits=128) by igloo.linux.gr (8.13.8/8.13.8/Debian-3) with ESMTP id l0D3MNFY029165 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 13 Jan 2007 05:22:31 +0200 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.13.8/8.13.8) with ESMTP id l0D3MEpB040394; Sat, 13 Jan 2007 05:22:15 +0200 (EET) (envelope-from keramida@freebsd.org) Received: (from keramida@localhost) by kobe.laptop (8.13.8/8.13.8/Submit) id l0D3MEvk040393; Sat, 13 Jan 2007 05:22:14 +0200 (EET) (envelope-from keramida@freebsd.org) Date: Sat, 13 Jan 2007 05:22:14 +0200 From: Giorgos Keramidas To: Philip Hallstrom Message-ID: <20070113032213.GA40355@kobe.laptop> References: <20070113010737.GC1715@kobe.laptop> <20070112192639.Q67707@bravo.pjkh.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070112192639.Q67707@bravo.pjkh.com> X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-4.077, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.32, BAYES_00 -2.60) X-Hellug-MailScanner-From: keramida@freebsd.org X-Spam-Status: No Cc: Peter aka SweetPete , freebsd-questions@freebsd.org Subject: Re: binary called "top" not have realtime filter/search? [#SHAZBOTAA7235423352662A] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Jan 2007 03:22:55 -0000 On 2007-01-12 19:27, Philip Hallstrom wrote: >>On 2007-01-12 14:02, Peter aka SweetPete wrote: >>>I've red the manpage for "top" (from heh heh "top" to bottom...), >>>and I am amazed that there is not a feature to hit '/' or '?' in >>>order to search and display only processes which match a certain >>>keyword/search term. For example, a user running top could hit '/' >>>and enter "fire", which would display processes related to >>>"firefox." >> >> That's an excellent idea :) >> >> Should we also allow for limiting by other stuff too, i.e. like the >> 'l' command in the mail/mutt mailer accepts a 'limit pattern' with a >> syntax like: >> >> >> Limiting by username or user ID >> >> ~u username only show processes of user `username' >> ~U uid only show processes of user uid >> ~U uidmin-uidmax only show processes of users minuid-maxuid > > username is already there... > > u Display only processes owned by a specific username (prompt for > username). If the username specified is simply "+", then processes > belonging to all users will be displayed. I know. I was "thinking loudly" of a way to extend this without having to hijack the entire keyboard. If/when we have a more featureful limiting mechanism, we can certainly leave 'u' as a key binding that works exactly the same as before, for compatibility reasons.