# jattach/jattach

JVM Dynamic Attach utility

Repository: https://github.com/jattach/jattach
Canonical: https://ross.abutalabs.com/products/jattach
Homepage: https://github.com/jattach/jattach/releases
Language: C
License: Apache-2.0
License Family: permissive
Last push: 2025-12-05T20:13:28+00:00

## Health v2 (maintenance only)
Score: 48/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 55, release rhythm 8, longevity 100
- inputs: {"age_days": 3809, "days_push": 271, "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 1151, forks 124 (observed 2026-08-28T04:03:46.698213+00:00)

## What it is
jattach is a tiny native utility that sends commands to a running JVM process via the HotSpot Dynamic Attach mechanism. It combines jmap, jstack, jcmd, and jinfo functionality in a single binary that works with just a JRE and supports Linux containers.

## Use cases
- dump heap of a running java process without a JDK
- take a thread dump from a containerized JVM
- load a java agent jar into a running JVM
- print or modify JVM flags at runtime
- run jcmd commands against a JRE-only host
- get heap histogram of a live JVM process

## When to choose
- you need jmap/jstack/jcmd functionality but only have a JRE installed
- you are troubleshooting JVMs inside slim Docker containers
- you want a single small static binary instead of a full JDK

## When to avoid
- you need a full JDK toolchain for development
- you target non-HotSpot JVMs without attach support (limited OpenJ9 support only)

## Facets
- artifact type: cli-tool
- maturity: stable
- function: developer-tools, monitoring, tracing
- domain: developer-tools
- platform: windows, bsd, cli
- tags: jvm, jattach, dynamic-attach, jmap, jstack, jcmd, jinfo, heap-dump, thread-dump, containers, command-line, linux, macos

## Member repositories
- jattach/jattach (main) score 48

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:46.698213+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-30T06:33:36.822322+00:00, confidence not recorded.
  - readme: https://github.com/jattach/jattach (fetched 2026-08-28T04:03:46.698213+00:00, sha c1e3ff50c40b)
  - homepage: https://github.com/jattach/jattach/releases (fetched 2026-08-29T12:38:19.594609+00:00, sha 97fa681e9651)
- Data as of 2026-08-30T08:39:29.467469+00:00.
