From 6c349670ccf01dc813c561deed3478b9b1a933e9 Mon Sep 17 00:00:00 2001 From: hengyunabc Date: Tue, 7 Sep 2021 14:53:51 +0800 Subject: [PATCH] polish #1909 --- site/src/site/sphinx/en/web-console.md | 8 +++++++- site/src/site/sphinx/web-console.md | 12 +++++++++++- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/site/src/site/sphinx/en/web-console.md b/site/src/site/sphinx/en/web-console.md index cbf952cef..e2deff5e6 100644 --- a/site/src/site/sphinx/en/web-console.md +++ b/site/src/site/sphinx/en/web-console.md @@ -5,7 +5,7 @@ Web Console ### Connect arthas through the browser -Arthas supports the Web Console. After attach success, the user can access: [http://127.0.0.1:3658/](http://127.0.0.1:3658/). +Arthas supports the Web Console. After attach success, the user can access: [http://127.0.0.1:8563/](http://127.0.0.1:8563/). The user can fill in the IP and connect the remote arthas on other machines. @@ -17,6 +17,12 @@ If you have suggestions for the Web Console, please leave a message here: [https * Copy and paste shortcut keys in Web Console: [https://github.com/alibaba/arthas/issues/1056](https://github.com/alibaba/arthas/issues/1056) +> Since 3.5.4, you can right-click to copy and paste in the Web Console. +### scrollback URL parameters +> Since 3.5.5 +By default, the number of rows that the Web Console supports to roll back upwards is 1000. It can be specified with `scrollback` in the URL. for example + +[http://127.0.0.1:8563/?scrollback=3000](http://127.0.0.1:8563/?scrollback=3000) ### Connect remote arthas through arthas tunnel server [Arthas Tunnel](tunnel.md) \ No newline at end of file diff --git a/site/src/site/sphinx/web-console.md b/site/src/site/sphinx/web-console.md index 549657409..bf14ca72e 100644 --- a/site/src/site/sphinx/web-console.md +++ b/site/src/site/sphinx/web-console.md @@ -6,7 +6,7 @@ Web Console ### 通过浏览器连接arthas -Arthas目前支持Web Console,用户在attach成功之后,可以直接访问:[http://127.0.0.1:3658/](http://127.0.0.1:3658/)。 +Arthas目前支持Web Console,用户在attach成功之后,可以直接访问:[http://127.0.0.1:8563/](http://127.0.0.1:8563/)。 可以填入IP,远程连接其它机器上的arthas。 @@ -17,6 +17,16 @@ Arthas目前支持Web Console,用户在attach成功之后,可以直接访问 > 注意会有安全风险,考虑下面的tunnel server的方案。 * 在Web Console复制粘贴快捷键参考: [https://github.com/alibaba/arthas/issues/1056](https://github.com/alibaba/arthas/issues/1056) + +> 3.5.4 版本后,在Web Console可以鼠标右键复制粘贴。 + +### scrollback URL参数 + +> 3.5.5 版本后支持 + +默认Web Console支持向上回滚的行数是1000。可以在URL里用`scrollback`指定。比如 + +[http://127.0.0.1:8563/?scrollback=3000](http://127.0.0.1:8563/?scrollback=3000) ### 使用arthas tunnel server连接远程arthas [Arthas Tunnel](tunnel.md) \ No newline at end of file