nicolargo / glances

Glances an Eye on your system. A top/htop alternative for GNU/Linux, BSD, Mac OS and Windows operating systems.
http://nicolargo.github.io/glances/
Other
26.81k stars 1.53k forks source link

[WEBUI] Filter process list by user #2231

Open RetroZelda opened 1 year ago

RetroZelda commented 1 year ago

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

nicolargo commented 1 year ago

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

fr4nc0is commented 1 year ago

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.

github-actions[bot] commented 4 months ago

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

github-actions[bot] commented 1 month ago

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