Skip to main content
Version: 1.7.3

CLI Mode User Guide

本文档主要介绍blade支持的基础命令

支持命令

进入chaosblade文件夹内,执行blade -hblade --help可例举出所有可执行命令

PS /opt/chaosblade> ./blade -h
An easy to use and powerful chaos engineering experiment toolkit

Usage:
blade [command]

Available Commands:
check Check the environment for chaosblade
create Create a chaos engineering experiment
destroy Destroy a chaos experiment
help Help about any command
prepare Prepare to experiment
query Query the parameter values required for chaos experiments
revoke Undo chaos engineering experiment preparation
server Server mode starts, exposes web services
status Query preparation stage or experiment status
version Print version info

Flags:
-d, --debug Set client to DEBUG mode
-h, --help help for blade

Use "blade [command] --help" for more information about a command.
CommandDescription
blade server将chaosblade作为server启动
blade check校验该机器是否满足chaosblade工具运行环境
blade prepare挂载jvm探针至目标Java进程
blade revoke撤回jvm探针挂载
blade create创建混沌工程实验
blade destroy恢复混沌工程实验
blade query查询和实验相关指标如磁盘占用、java进程故障命中次数等
blade status查询实验执行结果
blade versionchaosblade工具版本