Code Cleanup
- improve help message: one line contains less 80 chars
πΆ show-busy-java-threadsfind-in-jars
- improve docs
π - fix typo: seperator -> separator
π€‘ show-busy-java-threadsfind-in-jars
Have Fun!
2019-06-01
Assets
2
Improvements
show-busy-java-threads:- check before write file
βοΈ
- check before write file
find-in-jars:- check dirs
coat&a2l- reorder color, avoid first line is red
Code Cleanup
show-busy-java-threads:- extract util functions:
logAndRun,logAndCat - use
satisfy condition or diepattern - use printf instead of print in awk script.
- use pipe instead
<(), improve readability.π - reorder/extract functions/variables.
- extract util functions:
find-in-jars:- use arithmetic operation
- use
satisfy condition or diepattern - use pipe instead
<(), improve readability.
- documentation:
- compress png files
πΎ - improve docs of coat, find-in-jars
- improve format of markdown
- compress png files
Have Fun!
2019-01-28
Assets
2
oldratlee
released this
New Features
show-busy-java-threads:
Bug Fix
show-busy-java-threads:- fix bug for top v3.2 #71
π©
- fix bug for top v3.2 #71
Improvements
show-busy-java-threads:find-in-jars:- reecho
wc -l, ensure no extra whitespace for jar file total count.
- reecho
Code Cleanup
show-busy-java-threads:- use printf instead of print in awk script.
- use pipe instead
<(), improve readability.π - reorder/extract functions/variables.
find-in-jars:- use pipe instead
<(), improve readability.
- use pipe instead
Have Fun!
2018-6-17
Assets
2
oldratlee
released this
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
- improve show-busy-java-threads help format
Code Cleanup
show-busy-java-threads:- main function style
π - reorder functions
- use
ARITHMETIC EVALUATIONexplicitly instead of-gtetcπ’
- main function style
Have Fun!
2018-5-22
Assets
2
oldratlee
released this
New Features
c:- add quiet option(
-q)π - add keep eol option(
-k)π½ - check unrecognized option
πͺ - improve stability
π - check pipe fail
- use
ifinstead&&/||, avoid exit logic bug when "if clause" fail
- add quiet option(
find-in-jars:- add separator option(
-s)π - check unrecognized option
πͺ
- add separator option(
Code Cleanup
- improve usage function to simplify exit code
π΅
Have Fun!
2018-3-5
Assets
2
oldratlee
released this
New Features
- show-busy-java-threads:
- support unlimited use name width(use
pswide output)π»
- support unlimited use name width(use
- find-in-jars:
- color grep match pattern #63
π - support absolute path option(
-a)
- color grep match pattern #63
Improvements
coat: if not in console, use cat command directlyπ― - improve docs and comments
Code Cleanup
- use
&&/||instead ofif/elseif code is more concise and readable. - use fatal function to simplify exit logic
- improve option parse of
find-in-jars, support-- - remove unnecessary arithmetic parenthesis
- fix typo
Have Fun!
Happy new year!
2018-1-1
Assets
2
oldratlee
released this
Chang Log
show-busy-java-threads- fix bug: long username(more 8 chars) will be trunk, cause
jstackfail #62β¨
PR from @xiongchen2012β€οΈ
- fix bug: long username(more 8 chars) will be trunk, cause
find-in-jars- support support ignore case option
-i
- support support ignore case option
- code cleanup
- remove sh file name suffix for shell script
- remove unnecessary arithmetic parenthesis
Have Fun!
2017-11-2
Assets
2
oldratlee
released this
Chang Log
show-busy-java-threads- support full options of jstack, like
-m/-lπ±
- support full options of jstack, like
- rewrite
coat(formerlycolines)- use
catinstead of self implementation, so as to support all options ofcatπ - rewrite by
bash, faster and less dependency(python)π¬
- use
- improve stability & readability, clean code:
- use
-t 1check instead of-c /dev/stdoutwhen check is tty/console - use escape sequence syntax to avoid separated echo, avoid break line when parallel output from multi-process
- adjust color order of
coat/a2l, more human friendly
- use
- several documentation improvement
Have Fun!
2017-10-23
Assets
2
oldratlee
released this
Change Log
show-busy-java-threads- support
delay/countarguments, so as to run multiply time automatically㪠- support options
-ato append info to log file, so as to review laterπ - support
jstackoptions-F, force dumpπ± - support options
-sto specifyjstackpath, it's convenient when run bysudo - check os support, report os unsupported info and exit
- fix wrong user bug, when run by
sudo -u user_foo
- support
find-in-jars- support macOS (reimplement option parse)
- support multiply find directories
- support all pattern mode of
grep,-E/-F/-Poptions⨠- support responsive process info output when run at console(
tty)π - performance optimization, use
zipinfo/unzipcommand first
zipinfo -1/unzip -Z1is ~25 times faster thanjar tfβ‘οΈ π
tcp-connection-state-counter- Documentation update
- add OS support info
- hide doc for
svnrelated scripts from index readme. (Yes, please usegitinstead!π₯ ) - several documentation improvement
Have fun!
2017-10-03

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.
