Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New filter on threads overview page: long running threads #85

Open
drauf opened this issue Jul 31, 2024 · 0 comments
Open

New filter on threads overview page: long running threads #85

drauf opened this issue Jul 31, 2024 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@drauf
Copy link
Owner

drauf commented Jul 31, 2024

Achieve something similar to the regexp below:

grep -E -h '^"http.*-exec-[0-9]+' jira_threads.* | sed 's/"//g' | sort -k1,1 -s | grep -E " runnable | Object.wait\(\) | monitor " | awk '{print $1, $2, $3}' | uniq -c | awk '($1 >= 2) {print}' | sort -nr

Basically, only display threads that are running for 2+ consecutive windows. The filter can be useful especially for thread dumps with hundreds+ of threads or a huge number of dumps where it's not easy to visually scan everything.

@drauf drauf added enhancement New feature or request good first issue Good for newcomers labels Jul 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant