Skip to content

Release 1.4.0 馃帺馃帀馃崱

Choose a tag to compare

@oldratlee oldratlee released this 22 May 11:03
· 34 commits to master since this release

New Features

  1. show-busy-java-threads:
    • use top command to get percent of thread cpu usage 馃帺 馃帀
      you can use -P, --use-ps option so as to use ps command to find busy thead(cpu usage) instead of top command.
    • support -S, --jstack-file-dir option 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-delay option to specifies the delay between top samples. 馃構
      get thread cpu percentage during this delay interval.
  2. xpf/xpl:
    • support mac, parse option by hand instead of getopt #66 馃崱

Bug Fix

  1. 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 EVALUATION explicitly instead of -gt etc 馃敘

Have Fun! 馃挄
2018-5-22