tiptop icon indicating copy to clipboard operation
tiptop copied to clipboard

View more of process list

Open dwt opened this issue 3 years ago • 3 comments

Currently it only displays part of the processes - would be really nice if I could see the rest.

Some ways to achieve this that I can imagine:

  • allow scrolling
  • allow filtering
  • allow different sorting criteria.

What do you think?

dwt avatar Mar 11 '22 07:03 dwt

So far, I myself have only been interested in the top-CPU processes, so that's good enough for me. If you need more, this is the file you need to modify (it's rather small). It'd probably be to start with the sorting criteria. Not sure what's the best thing to do it UI-wise. I'll be happy to review PRs!

nschloe avatar Mar 11 '22 09:03 nschloe

I really like the way btop does it, where it underlines a character in the header column of tables to highlight the shortcut to sort by that table.

Would that be possible with textual/rich?

dwt avatar Mar 11 '22 09:03 dwt

Sure. Note how tiptop already underlines %cpu.

nschloe avatar Mar 11 '22 09:03 nschloe