From d4e54cd2f21b7b5d31c409ff7064224bebb93bbb Mon Sep 17 00:00:00 2001 From: hengyunabc Date: Mon, 4 Jan 2021 20:01:19 +0800 Subject: [PATCH] add faq.md --- site/src/site/sphinx/en/faq.md | 26 ++++++++++++++++++++++++++ site/src/site/sphinx/en/index.md | 4 ++-- site/src/site/sphinx/faq.md | 28 ++++++++++++++++++++++++++++ site/src/site/sphinx/index.md | 4 ++-- 4 files changed, 58 insertions(+), 4 deletions(-) create mode 100644 site/src/site/sphinx/en/faq.md create mode 100644 site/src/site/sphinx/faq.md diff --git a/site/src/site/sphinx/en/faq.md b/site/src/site/sphinx/en/faq.md new file mode 100644 index 000000000..36e2de12f --- /dev/null +++ b/site/src/site/sphinx/en/faq.md @@ -0,0 +1,26 @@ +## FAQ + + +> For questions that are not in this list, please search in issues. [https://github.com/alibaba/arthas/issues](https://github.com/alibaba/arthas/issues) + +##### How much impact does Arthas attach have on the performance of the original process? + +[https://github.com/alibaba/arthas/issues/44](https://github.com/alibaba/arthas/issues/44) + + +##### How to view the result in `json` format + +```bash +options json-format true +``` + +See more at [options](options.md) + + +##### Can arthas trace native methods + +No. + +##### Can arthas view the value of a variable in memory? + +No. But you can use some tricks to intercept the object with the `tt` command, or fetch it from a static method. diff --git a/site/src/site/sphinx/en/index.md b/site/src/site/sphinx/en/index.md index 44ded39df..5ca05b577 100644 --- a/site/src/site/sphinx/en/index.md +++ b/site/src/site/sphinx/en/index.md @@ -53,8 +53,8 @@ Contents * [Arthas Spring Boot Starter](spring-boot-starter.md) * [IDEA Plugin](idea-plugin.md) * [User cases](https://github.com/alibaba/arthas/issues?q=label%3Auser-case) -* [Questions and answers](https://github.com/alibaba/arthas/issues?q=label%3Aquestion-answered) -* [Fork me at GitHub](https://github.com/alibaba/arthas) +* [FAQ](faq.md) +* [Star me at GitHub](https://github.com/alibaba/arthas) * [Compile and debug/CONTRIBUTING](https://github.com/alibaba/arthas/blob/master/CONTRIBUTING.md#) * [Release Notes](https://github.com/alibaba/arthas/releases) * [Contact us](contact-us.md) diff --git a/site/src/site/sphinx/faq.md b/site/src/site/sphinx/faq.md new file mode 100644 index 000000000..2a7d679c7 --- /dev/null +++ b/site/src/site/sphinx/faq.md @@ -0,0 +1,28 @@ + +## FAQ + + +> 不在本列表里的问题,请到issue里搜索。 [https://github.com/alibaba/arthas/issues](https://github.com/alibaba/arthas/issues) + +##### Arthas attach之后对原进程性能有多大的影响 + +[https://github.com/alibaba/arthas/issues/44](https://github.com/alibaba/arthas/issues/44) + + +##### 怎么以`json`格式查看结果 + +```bash +options json-format true +``` + +更多参考 [options](options.md) + + +##### Arthas能否跟踪 native 函数 + +不能。 + + +##### 能不能查看内存里某个变量的值 + +不能。但可以用一些技巧,用`tt`命令拦截到对象,或者从静态函数里取到对象。 \ No newline at end of file diff --git a/site/src/site/sphinx/index.md b/site/src/site/sphinx/index.md index 0aa18f38d..6bd8604b7 100644 --- a/site/src/site/sphinx/index.md +++ b/site/src/site/sphinx/index.md @@ -44,8 +44,8 @@ Contents * [Arthas Spring Boot Starter](spring-boot-starter.md) * [IDEA 插件](idea-plugin.md) * [用户案例](https://github.com/alibaba/arthas/issues?q=label%3Auser-case) -* [常见问题](https://github.com/alibaba/arthas/issues?q=label%3Aquestion-answered) -* [Fork me at GitHub](https://github.com/alibaba/arthas) +* [FAQ/常见问题](faq.md) +* [Star me at GitHub](https://github.com/alibaba/arthas) * [编译调试/参与贡献](https://github.com/alibaba/arthas/blob/master/CONTRIBUTING.md#) * [Release Notes](https://github.com/alibaba/arthas/releases) * [QQ群/钉钉群](contact-us.md)