glances icon indicating copy to clipboard operation
glances copied to clipboard

[WEBUI] Filter process list by user

Open RetroZelda opened this issue 2 years ago • 4 comments

it would be really really nice if we were able to filter the process list by user so I can either select what users I want to see, or select what users I dont want to see. An example is here where there are a LOT of processes started by "root" that Im not interested in, so I would like to hide them. image

RetroZelda avatar Dec 30 '22 08:12 RetroZelda

Hi @RetroZelda

for the moment it is only possible in the terminal UI:

Selection_036

But it will be a nice feature to add a filter function on the following columns in the Web UI : user, command


@fr4nc0is: is it an hard work to add a filter icon for the user and command columns ?

Something like that: https://www.jqueryscript.net/table/Excel-like-Bootstrap-Table-Sorting-Filtering-Plugin.html or more simple: https://tochoromero.github.io/vuejs-smart-table/filtering/#filters

nicolargo avatar Jan 02 '23 10:01 nicolargo

Hi @nicolargo ,

Yes, it's a bit of work.

We can use one of the datable UI components available for Vue.js https://github.com/vuejs/awesome-vue#table (like vuejs-smart-table). A relevant one is one which supports search patterns (contains, does not contain, starts with, end with, etc...) client or server side (like you do with the CLI UI). I don't have one in my mind. Then, we should add this dependency and rework the processlist plugin.

fr4nc0is avatar Jan 03 '23 09:01 fr4nc0is

This issue is stale because it has been open for 3 months with no activity.

github-actions[bot] avatar Jun 17 '24 01:06 github-actions[bot]

This issue is stale because it has been open for 3 months with no activity.

github-actions[bot] avatar Sep 20 '24 01:09 github-actions[bot]