Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Jan 2007 05:22:14 +0200
From:      Giorgos Keramidas <keramida@freebsd.org>
To:        Philip Hallstrom <freebsd@philip.pjkh.com>
Cc:        Peter aka SweetPete <swtpete@gmail.com>, freebsd-questions@freebsd.org
Subject:   Re: binary called "top" not have realtime filter/search? [#SHAZBOTAA7235423352662A]
Message-ID:  <20070113032213.GA40355@kobe.laptop>
In-Reply-To: <20070112192639.Q67707@bravo.pjkh.com>
References:  <ad32ec270701121402x78ba753ib5726a117c38f435@mail.gmail.com> <20070113010737.GC1715@kobe.laptop> <20070112192639.Q67707@bravo.pjkh.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2007-01-12 19:27, Philip Hallstrom <freebsd@philip.pjkh.com> wrote:
>>On 2007-01-12 14:02, Peter aka SweetPete <swtpete@gmail.com> 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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070113032213.GA40355>