macOS
brew install bytemanlocal Homebrew formula metadata
安装
brew install bytemanlocal Homebrew formula metadata
sudo dnf install bytemanFedora Rawhide package metadata · byteman · 来源: dl.fedoraproject.org
sudo apt install libbyteman-javaDebian stable package indexes · libbyteman-java · 来源: deb.debian.org
概览
Java bytecode manipulation tool for testing, monitoring and tracing
历史
Byteman is a Java agent and command-line toolkit for injecting rules into running JVM programs. It is used for tracing, monitoring, testing, and fault injection without permanently changing application source code.
The Byteman README describes the project as a tool for injecting side effects into Java programs to trace and test application behavior. Its distribution includes command scripts, an agent and rule engine, submit/install clients, sample scripts, and programmer documentation.
The official JBoss project site frames Byteman as a way to simplify Java tracing, monitoring, and testing. Its documentation history includes papers and talks by Andrew Dinn and other Red Hat/JBoss community members from 2009 onward, including fault-injection and runtime-behavior use cases.
Byteman adoption is strongest in the Java middleware and testing world. The official docs page lists BMUnit tests or integrations involving WildFly, Narayana, Hibernate, Infinispan, HornetQ, JGroups, IronJacamar, Mule, and other JVM projects.
Packaging in Homebrew, Debian, Ubuntu, and Fedora reflects a niche but durable role: it is not a default Java tool, but it is valuable when tests need controlled failure, race, or runtime instrumentation scenarios.
Users write Byteman rule scripts, check them with `bmcheck` or `bytemancheck`, run Java under the agent with `bmjava`, install the agent into a running JVM with `bminstall`, and submit rules with `bmsubmit`.
Typical package-manager usage is by developers or QA engineers who need to reproduce timing bugs, inject exceptions, trace JVM internals, or test recovery paths in Java services.
Byteman is notable because it packages JVM bytecode instrumentation as a Unix-style command tool. That makes heavy Java-agent machinery installable with `brew install byteman` or distro packages instead of manual download-and-unzip workflows.
For package nerds, it sits in the same practical family as debuggers, tracers, and test harnesses: rarely needed by everyone, but exactly the right sharp tool when ordinary unit tests cannot reach a runtime behavior.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
bmcheck | cli | 全局可执行文件 | |
bminstall | cli | 全局可执行文件 | |
bmjava | cli | 全局可执行文件 | |
bmsubmit | cli | 全局可执行文件 | |
bytemancheck | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:byteman |
|---|---|
| 版本 | 4.0.27 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/byteman |
| 主页 | https://byteman.jboss.org/ |
| 仓库 | https://github.com/bytemanproject/byteman |
| 上游文档 | https://byteman.jboss.org/docs.html |
| 许可证 | LGPL-2.1-or-later |
| 源码归档 | https://downloads.jboss.org/byteman/4.0.27/byteman-download-4.0.27-bin.zip |
| 最后更新 | 2026-06-22T14:02:56-07:00 |
| Pulse | updated |
| 依赖 | openjdk |
| Bottle | 可用 (于 all) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | byteman |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
libbyteman-java 4.0.20-1
Java agent-based bytecode injection tool
sudo apt install libbyteman-javalibbyteman-java 4.0.20-1
Java agent-based bytecode injection tool
sudo apt install libbyteman-javabyteman 4.0.26-3.fc44
Java agent-based bytecode injection tool
sudo dnf install bytemanbyteman-bmunit 4.0.26-3.fc44
TestNG and JUnit integration for Byteman.
sudo dnf install byteman-bmunitbyteman-dtest 4.0.26-3.fc44
Remote byteman instrumented testing.
sudo dnf install byteman-dtestbyteman-javadoc 4.0.26-3.fc44
Javadoc for byteman
sudo dnf install byteman-javadocbyteman-rulecheck-maven-plugin 4.0.26-3.fc44
Maven plugin for checking Byteman rules.
sudo dnf install byteman-rulecheck-maven-plugin来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.