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