Skip to content
This repository has been archived by the owner on Sep 8, 2020. It is now read-only.

Add options to display parents and children processes in filter view #973

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ashamza
Copy link

@ashamza ashamza commented Dec 25, 2019

Add two new display options for filtering mode:

  • Display all parent processes up to root process.

  • Display all children processes for filtered process.

I imagine a regular use case (at least it's my main use case) where user has multiple commands being executed in different screen/tmux windows which user would like to monitor without the distractions from kernel tasks and other processes.

Example how it looks like with the two options enabled.

CPU% MEM%   TIME+  Command                                                                                                                                             
 0.0  0.1  0:26.54 /sbin/init splash
 0.0  0.1  0:00.23 ├─ /lib/systemd/systemd --user
 0.0  0.0  0:00.94 │  ├─ tmux                                                                                                                                          
 0.0  0.1  0:00.09 │  │  ├─ -bash
 0.0  0.0  0:00.00 │  │  │  └─ -bash
 0.0  0.0  0:00.00 │  │  │     └─ tail -f tmp.sh
 0.0  0.1  0:00.07 │  │  ├─ -bash
 0.0  0.1  0:00.02 │  │  │  └─ vi edit.txt
 0.0  0.1  0:00.14 │  │  └─ -bash
 4.6  0.1  0:02.60 │  │     └─ ./install_dir/bin/htop 
 1.3  0.5  1:02.26 │  ├─ /usr/lib/gnome-terminal/gnome-terminal-server
 0.0  0.1  0:01.06 │  │  └─ bash
 0.0  0.0  0:00.00 │  │     └─ tmux



F1Help  F2Setup F3SearchF4FilterF5SortedF6CollapF7Nice -F8Nice +F9Kill  F10Quit                                                                                                                                    

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant