# oldratlee/useful-scripts

🐌 useful scripts for making developer's everyday life easier and happier, involved java, shell etc.

Repository: https://github.com/oldratlee/useful-scripts
Canonical: https://ross.abutalabs.com/products/useful-scripts
Homepage: https://github.com/oldratlee/useful-scripts
Language: Shell
License: Apache-2.0
License Family: permissive
Topics: shell, script, option-parser, java, useful-scripts, bash, show-busy-java-threads, show-duplicate-java-classes, terminal, developers-everyday-life, python
Last push: 2026-06-19T00:52:30+00:00

## Health v2 (maintenance only)
Score: 62/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 88, release rhythm 8, longevity 100
- inputs: {"age_days": 4922, "days_push": 76, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 7522, forks 2795 (observed 2026-08-28T04:10:00.477336+00:00)

## What it is
A collection of handy shell and Java utility scripts that automate common developer tasks, such as finding CPU-hungry Java threads and duplicate classes in jars. It is installed via a self-installer and used in production environments at companies like Alibaba.

## Use cases
- find which java thread is consuming high cpu
- print thread stack for busy java threads
- find duplicate classes across jar files
- search for a class or resource inside jars
- copy command output to clipboard from terminal
- colorize cat output for readability

## When to choose
- you debug Java performance issues from the command line
- you want lightweight scripts instead of full APM tooling
- you need quick jar/class conflict diagnosis on Linux or macOS servers

## When to avoid
- you need a GUI-based profiler or continuous monitoring
- you work primarily on Windows without a POSIX shell
- you need managed, long-term metrics collection rather than ad-hoc troubleshooting

## Facets
- artifact type: cli-tool
- maturity: active
- function: developer-tools, cli, monitoring, search-engine
- domain: developer-tools, command-line
- platform: cli
- tags: shell-scripts, java-troubleshooting, thread-dump, class-conflict, productivity, bash, command-line, java, linux, macos, shell

## Member repositories
- oldratlee/useful-scripts (main) score 62

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:00.477336+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:37:28.799399+00:00, confidence not recorded.
  - readme: https://github.com/oldratlee/useful-scripts (fetched 2026-08-28T04:10:00.477336+00:00, sha 53c0dadac0f5)
  - homepage: https://github.com/oldratlee/useful-scripts (fetched 2026-08-29T08:32:34.207728+00:00, sha 1f3eaa706d23)
- Data as of 2026-08-30T08:39:29.467469+00:00.
