watson icon indicating copy to clipboard operation
watson copied to clipboard

New filter on threads overview page: long running threads

Open drauf opened this issue 1 year ago • 1 comments

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 avatar Jul 31 '24 06:07 drauf

@drauf could you consider adding this very needed and demanded feature? I could help you with the implementation so more companies can benefit from it

dandudzi avatar Aug 31 '25 12:08 dandudzi