-
-
Notifications
You must be signed in to change notification settings - Fork 442
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: Filter to show only certain sub tree(s) #76
Comments
Hi. I implemented the solution in the most upvoted comment in the link above. See #219 |
Can this be closed? |
The intention of the original feature request was for more or less free selection (space bar) for the trees to show after filtering. So the basic infrastructure to have this is there, but if I remember the patchset correctly it's currently bound to some explicit filter string. |
I would appreciate even more if I could set a parent process PID on a command line. |
I wanted to do something that's similar to this FR. I wanted to add a feature to include children and/or parents for a process when filter. A use case for it is when using a tmux/screen session on a busy server when usually I am interested in processes that's running on those sessions instead of everything. I have made hishamhm/htop#973 (comment) to show what I was looking for. Is this already fixed? is it possible now to have such a filter? |
It doesn't look like the current filter supports it. |
@BenBE Btw, something struck me regarding this. Given the top pane shows CPU activity, etc it would be nice to have a keybinding to toggle between viewing the active filter and unfiltered (default) view. That would be useful if user sees unusual activity, and wants to toggle back to unfiltered view without having to close htop and reopen it. |
Such a key binding should probably best go into its own issue, as that's not directly part of this issue. But it has its merits. |
That's exactly what I'm looking for. 👍 👍 When I do Before this I could only do until today I want to get rid of it. If the two option (show children, show parent) also in F3 context (toggle anytime) it'll perfect. Three years later, still not entered the mainline yet? |
Update @ashamza 's patch here PR #1139 Hope someone will consider it. The effect is not exactly the same as
|
Repost from: hishamhm/htop#836
Short Description:
Allow the user to select some processes/threads of interest and after activating the filter view only show those or any children.
Detailed explanation in hishamhm/htop#836 (comment)
The text was updated successfully, but these errors were encountered: