Release 1.4.0 馃帺馃帀馃崱
New Features
show-busy-java-threads:- use
topcommand to get percent of thread cpu usage 馃帺 馃帀
you can use-P, --use-psoption so as to use ps command to find busy thead(cpu usage) instead of top command. - support
-S, --jstack-file-diroption to specify the dir for storing jstack output files, and keep files. 馃洂
default store jstack output files at tmp dir, and auto remove after run.
use this option to keep files so as to review jstack output later. - support
-d, --top-delayoption to specifies the delay between top samples. 馃構
get thread cpu percentage during this delay interval.
- use
xpf/xpl:- support mac, parse option by hand instead of
getopt#66 馃崱
- support mac, parse option by hand instead of
Bug Fix
show-busy-java-threads:- should re-jstack when next update
- option parse fail should exit
Improvements
show-busy-java-threads:- improve show-busy-java-threads help format 馃摎
- improve output color 馃寛
- improve docs
Code Cleanup
show-busy-java-threads:- main function style 馃拝
- reorder functions
- use
ARITHMETIC EVALUATIONexplicitly instead of-gtetc 馃敘
Have Fun! 馃挄
2018-5-22