# 使用 Homebrew 安装 jvmtop

查看 jvmtop 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:jvmtop
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install jvmtop
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:jvmtop
- **软件包管理器:** Homebrew
- **版本:** 0.8.0
- **来源摘要:** Console application for monitoring all running JVMs on a machine
- **主页:** <https://github.com/patric-r/jvmtop>
- **仓库:** <https://github.com/patric-r/jvmtop>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- jvmtop (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.8.0
## 项目历史与用法

jvmtop is a small Java operations tool that brought the Unix `top` mental model to running JVMs: list the local Java processes, attach to them, and show JVM-specific CPU, garbage-collection, thread, heap, and non-heap metrics in a terminal.

### 项目历史

The project originated before its GitHub-hosted 0.8.0 release and was distributed as an alpha command-line monitor for Oracle JDK, IBM JDK, and OpenJDK systems. The README describes it as open source, JDK-based, and tested across Linux, Solaris, FreeBSD, and Windows hosts.

The 0.8.0 release notes from August 14, 2013 emphasize practical operations fixes: better IBM JVM attach compatibility, corrected IBM J9 CPU/GC values, improved option parsing, and friendlier behavior when metrics are unavailable. The GitHub releases API records the 0.8.0 release asset publication on July 15, 2015, reflecting the later GitHub release packaging of the same alpha line.

### 采用历史

jvmtop fits the pre-container Java server era, when operators often had shell access to application hosts and wanted a quick JVM view without launching a heavyweight profiler or JMX console. Its Homebrew formula preserved that niche for macOS and Linux users who wanted the tool available through a package manager.

### 使用方式

The tool is typically run as `jvmtop` or `jvmtop.sh` on a host with a full JDK, not just a JRE, because it attaches to other JVMs to read internal metrics. Its documentation also includes a VM detail mode and a sampling CPU console profiler introduced in version 0.7.0.

### 为什么软件包爱好者会关心

For package nerds, jvmtop is a classic single-purpose observability formula: tiny, terminal-native, tied to a specific runtime ecosystem, and useful precisely because it avoids the setup cost of a full monitoring stack.

### 时间线

- 2013: README release notes announce jvmtop 0.8.0 with IBM JVM attach and option-parsing fixes.
- 2015: GitHub release metadata records the 0.8.0 release artifact publication.
- 0.7.0 era: Documentation notes the addition of a minimal sampling CPU console profiler.

### Related projects

- Related JVM observability tools include JDK utilities such as `jps`, `jstat`, `jstack`, and graphical/JMX tools such as VisualVM and JConsole; jvmtop's niche is the lightweight `top`-style terminal view.

### 来源

- <https://formulae.brew.sh/formula/jvmtop>
- <https://github.com/patric-r/jvmtop>
- <https://github.com/patric-r/jvmtop/blob/master/doc/ConsoleProfiler.md>
- <https://github.com/patric-r/jvmtop/releases/tag/0.8.0>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals


## Combined YAML source

View the package source record on GitHub. [combined/jvmtop.yml](https://github.com/mxcl/pkgdb/blob/main/combined/jvmtop.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
