From 7123bd6eeb42c5219a125e782fd02a32e19e40ac Mon Sep 17 00:00:00 2001 From: alfredzouang <43456743+alfredzouang@users.noreply.github.com> Date: Fri, 21 Sep 2018 11:10:47 +0800 Subject: [PATCH 1/2] translate options --- site/src/site/sphinx/en/options.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 site/src/site/sphinx/en/options.md diff --git a/site/src/site/sphinx/en/options.md b/site/src/site/sphinx/en/options.md new file mode 100644 index 000000000..04bb88413 --- /dev/null +++ b/site/src/site/sphinx/en/options.md @@ -0,0 +1,26 @@ +options +=== + +> Global options + +| Name | Default Value | Description | +| ------------------ | ----- | ---------------------------------------- | +| unsafe | false | Enable support for system-level class enhancement, turn on this switch may crash JVM, please choose carefully! | +| dump | false | Enable support for dumping enhanced class to external file,if turned on,class file will be dumped to`/${application dir}/arthas-class-dump/`,please see console for specific location | +| batch-re-transform | true | Enable support for batch re-transform matched classes | +| json-format | false | Enable output in JSON format | +| disable-sub-class | false | Disabling child class matching,by default child class will be matched during matching target class,if you wish exact matching,you can turn this off | +| debug-for-asm | false | Print ASM related debug message | +| save-result | false | Enable saving logs for task results,when 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 tasks,if exceed this time,task will be stopped;i.e. 1d, 2h, 3m, 25s,representing day、hour、minute、second | + +### Usage + +For example,if 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 +``` \ No newline at end of file From 3b83ce2d1b50894b45fa5ad0877f0b3d538babe3 Mon Sep 17 00:00:00 2001 From: alfredzouang <43456743+alfredzouang@users.noreply.github.com> Date: Fri, 21 Sep 2018 11:43:06 +0800 Subject: [PATCH 2/2] update translate --- site/src/site/sphinx/en/options.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/site/src/site/sphinx/en/options.md b/site/src/site/sphinx/en/options.md index 04bb88413..e22472d48 100644 --- a/site/src/site/sphinx/en/options.md +++ b/site/src/site/sphinx/en/options.md @@ -5,9 +5,9 @@ options | Name | Default Value | Description | | ------------------ | ----- | ---------------------------------------- | -| unsafe | false | Enable support for system-level class enhancement, turn on this switch may crash JVM, please choose carefully! | +| 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 file,if turned on,class file will be dumped to`/${application dir}/arthas-class-dump/`,please see console for specific location | -| batch-re-transform | true | Enable support for batch re-transform matched classes | +| 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 matching,by default child class will be matched during matching target class,if you wish exact matching,you can turn this off | | debug-for-asm | false | Print ASM related debug message | @@ -23,4 +23,4 @@ $ options save-result true NAME BEFORE-VALUE AFTER-VALUE ---------------------------------------- save-result false true -``` \ No newline at end of file +```