Skip to content

Instantly share code, notes, and snippets.

View mikakoivisto's full-sized avatar

Mika Koivisto mikakoivisto

View GitHub Profile
import groovy.io.FileType
if ( args.length < 2 ) {
println "Scan's thread dump *.log files from directory";
println "";
println "Usage:";
println "groovy ThreadDumpAnalyzer.groovy <directory> <first value to look from thread dump> <second value to look from thread dump> <third value to look from thread dump>";
println "";
return;
}