Compare different implementations to count stuck threads in multiple log files.
After an initial comparison, further features will be implemented in Java.
First, install bats.
Run tests
bats tests.bats
# Script with folder and prefix for a custom subset
./generate-report.sh ./tomcat-log-examples example-2022-06-01
The example reports in count-stuck-threads.md was generated with a private 5 GB dataset which is not attached to the repository for several reasons.
cd java
# Count stuck threads per line (async)
./build-and-run.sh ../tomcat-logs/ --async
# Show most common codeline per file
./build-and-run.sh ../tomcat-logs/ --analyze-code-line-occurrences