NAICNO / Jobanalyzer

Easy to use resource usage report
MIT License
0 stars 1 forks source link

Make it possible to view the filters actually being applied #573

Closed lars-t-hansen closed 1 month ago

lars-t-hansen commented 1 month ago

This comes out of #550, where there is an obscure filter with a non-trivial default (-min-samples = 2). There are other filters like these: certain process names are filtered by default in the record filter (bash, zsh, sshd, tmux, systemd) and some user names too (root, zabbix). It would make sense when running with -v to be told of all the filters that are applied, both record filters and filters on aggregated data.

(Additional complexity: Sonar also performs some filtering, but this is known only to the script that runs Sonar.)

lars-t-hansen commented 1 month ago

On branch larstha-550-verbose-filters (sic!), probably good to go for record filters and job filters, but want to do the other verbs too.