From 3e61d2104a90538a4de2d83ab540485367debc1c Mon Sep 17 00:00:00 2001 From: 0xflotus <26602940+0xflotus@users.noreply.github.com> Date: Sun, 7 Oct 2018 19:23:51 +0200 Subject: [PATCH 1/6] fixed environment --- site/src/site/sphinx/en/advanced-use.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/src/site/sphinx/en/advanced-use.md b/site/src/site/sphinx/en/advanced-use.md index c1537d669..8d46b5426 100644 --- a/site/src/site/sphinx/en/advanced-use.md +++ b/site/src/site/sphinx/en/advanced-use.md @@ -54,7 +54,7 @@ Arthas provides `pipe` to process the result returned from commands further, e.g ## async in background -[async](async.md) can be handy when a problem is hardly to reproduce in the production enviornment, e.g. one `watch` condition may happen only once in one single day. +[async](async.md) can be handy when a problem is hardly to reproduce in the production environment, e.g. one `watch` condition may happen only once in one single day. * job control - use `>` to redirect result into the log file, use `&` to put the job to the background. Job keeps running even if the session is disconnected (the session lifecycle is 1 day by default) * jobs - list all jobs From a6034bf2d1bc96bc709393ecf47e09e823edc6a9 Mon Sep 17 00:00:00 2001 From: 0xflotus <26602940+0xflotus@users.noreply.github.com> Date: Sun, 7 Oct 2018 19:25:37 +0200 Subject: [PATCH 2/6] Update async.md Do you mean 'cancel'? --- site/src/site/sphinx/en/async.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/site/src/site/sphinx/en/async.md b/site/src/site/sphinx/en/async.md index c24bfab2f..9edbbad51 100644 --- a/site/src/site/sphinx/en/async.md +++ b/site/src/site/sphinx/en/async.md @@ -34,7 +34,7 @@ You can see that there is currently a background job executing. * execution count is the number of executions, which have been executed 19 times since the start. * timeout date: After this time, the job will automatically timeout and exit. -## 3. Suspend and Cannel job +## 3. Suspend and Cancel job When the job is executing in the foreground, such as directly calling the command `trace Test t` or calling the background job command `trace Test t &`, the job is transferred to the foreground through the `fg` command. At this point, the console cannot continue to execute the command, but can receive and process the following keyboard events: @@ -80,4 +80,4 @@ If you want to stop background job, just `kill `. ## 7. Others * Support up to 8 commands at the same time redirect the output to the log file. -* Do not open too many background asynchronous commands at the same time to avoid affecting the performance of the target JVM. \ No newline at end of file +* Do not open too many background asynchronous commands at the same time to avoid affecting the performance of the target JVM. From 67388b67eacc8ac6fdd6352b315a269c947cb476 Mon Sep 17 00:00:00 2001 From: 0xflotus <26602940+0xflotus@users.noreply.github.com> Date: Sun, 7 Oct 2018 19:26:31 +0200 Subject: [PATCH 3/6] added space --- site/src/site/sphinx/en/classloader.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/src/site/sphinx/en/classloader.md b/site/src/site/sphinx/en/classloader.md index a20105599..8fccd39e5 100644 --- a/site/src/site/sphinx/en/classloader.md +++ b/site/src/site/sphinx/en/classloader.md @@ -3,7 +3,7 @@ classloader Check the inheritance tree, urls and classes loading profiles of the class loaders. -It can be a great help for `ResourceNotFoundException` when you can use command `classloader`to specify a class loader to `getResources` and print all the urls of the valid resources. +It can be a great help for `ResourceNotFoundException` when you can use command `classloader` to specify a class loader to `getResources` and print all the urls of the valid resources. ### Options From 032644351c62b27cff1bd3c17f6b8b54965718ea Mon Sep 17 00:00:00 2001 From: 0xflotus <26602940+0xflotus@users.noreply.github.com> Date: Sun, 7 Oct 2018 19:31:11 +0200 Subject: [PATCH 4/6] fixed execute --- site/src/site/sphinx/en/quick-start.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/src/site/sphinx/en/quick-start.md b/site/src/site/sphinx/en/quick-start.md index 19fa32248..d9a69ff7d 100644 --- a/site/src/site/sphinx/en/quick-start.md +++ b/site/src/site/sphinx/en/quick-start.md @@ -95,7 +95,7 @@ public class Demo { ### Windows -Open the *DOS* console, under the unzipped arthas folder execture `as.bat ` +Open the *DOS* console, under the unzipped arthas folder execute `as.bat ` ## 3. Check the Dashboard From 1a416a81d5c815de6de8a7e5253716f009fbb6fd Mon Sep 17 00:00:00 2001 From: 0xflotus <26602940+0xflotus@users.noreply.github.com> Date: Sun, 7 Oct 2018 19:31:56 +0200 Subject: [PATCH 5/6] fixed overhead --- site/src/site/sphinx/en/release-notes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/src/site/sphinx/en/release-notes.md b/site/src/site/sphinx/en/release-notes.md index d835a02eb..b2b0162bb 100644 --- a/site/src/site/sphinx/en/release-notes.md +++ b/site/src/site/sphinx/en/release-notes.md @@ -38,7 +38,7 @@ v2017-09-11 v2017-05-11 ---- -* [improvement] [`tt`](tt.md) investigating/recording level one to avoid too much performance overhea +* [improvement] [`tt`](tt.md) investigating/recording level one to avoid too much performance overhead * [bug] fix Chinese characters can not be presented issue v2017-05-12 From 41c97be3ef0db453ddd69b13845f79fe034eac7c Mon Sep 17 00:00:00 2001 From: 0xflotus <26602940+0xflotus@users.noreply.github.com> Date: Sun, 7 Oct 2018 19:34:21 +0200 Subject: [PATCH 6/6] added space --- site/src/site/sphinx/en/trace.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/src/site/sphinx/en/trace.md b/site/src/site/sphinx/en/trace.md index 6f94628f7..f49c43e7f 100644 --- a/site/src/site/sphinx/en/trace.md +++ b/site/src/site/sphinx/en/trace.md @@ -97,7 +97,7 @@ trace com.alibaba.sample.petstore.web.store.module.screen.ItemList execute #cost `---[min=0.005428ms,max=0.094064ms,total=0.105228ms,count=3] com.alibaba.citrus.turbine.Context:put() ``` -Only the calling trace of the time cost higher than `4ms`presented now. +Only the calling trace of the time cost higher than `4ms` presented now. F.Y.I 1. like JProfile and other similar commercial software, you can `trace` down the specified method calling stack with time cost in Arthas;