You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
arthas/en/_sources/options.md.txt

27 lines
1.8 KiB
Plaintext

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

options
===
> Global options
| Name | Default Value | Description |
| ------------------ | ----- | ---------------------------------------- |
| unsafe | false | Enable support for system-level class enhancement; JVM might crash, if you turn on this switch (please use with great caution!) |
| dump | false | Enable support for dumping enhanced class to external fileif turned onclass file will be dumped to`/${application dir}/arthas-class-dump/`please see console for specific location |
| batch-re-transform | true | re-transform matched classes in batch |
| json-format | false | Enable output in JSON format |
| disable-sub-class | false | Disabling child class matchingby default child class will be matched during matching target classif you wish exact matchingyou can turn this off |
| debug-for-asm | false | Print ASM related debug message |
| save-result | false | Enable saving logs for task resultswhen turn to true, all command results will be saved to `/home/admin/logs/arthas/arthas.log` |
| job-timeout | 1d | Default time-out time for back-stage tasksif exceed this timetask will be stoppedi.e. 1d, 2h, 3m, 25srepresenting day、hour、minute、second |
### Usage
For exampleif you wish to save logs for command results, you can use following command:
```
$ options save-result true
NAME BEFORE-VALUE AFTER-VALUE
----------------------------------------
save-result false true
```