Skip to content

Commit

Permalink
sandbox
Browse files Browse the repository at this point in the history
  • Loading branch information
deipss committed Mar 13, 2024
1 parent 2740c4f commit afe635e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 10 deletions.
2 changes: 1 addition & 1 deletion docs/Mobile/adb.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ or:
SERVICE [ARGS]: dumps only service SERVICE, optionally passing ARGS to it

```
## 5. logcat
adb logcat --help
Expand Down
3 changes: 3 additions & 0 deletions docs/command/linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,9 @@ env | grep -i 'env' 在环境变量中查找包括env字符的行

# 6. 进程

## nmon
https://nmon.sourceforge.io/pmwiki.php

## 6.1. ps

```shell
Expand Down
16 changes: 7 additions & 9 deletions docs/command/sanbox.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,15 @@ nav_order: 7

# 1. 快速开始

- git文档 https://github.com/alibaba/jvm-sandbox/wiki/USER-QUICK-START
- 下载路径 http://ompc.oss-cn-hangzhou.aliyuncs.com/jvm-sandbox/release/sandbox-stable-bin.zip
- [git文档](https://github.com/alibaba/jvm-sandbox/wiki/USER-QUICK-START)

- [下载路径](http://ompc.oss-cn-hangzhou.aliyuncs.com/jvm-sandbox/release/sandbox-stable-bin.zip)

下载后一般在用户主目录下。可以修改`/Users/deipss/sandbox/cfg/sandbox.properties`文件中的user_module属性,
将自己开发的模块所在路径,配置在上去

> user_module=~/.sandbox-module;/Users/deipss/sandbox/sandbox-module;



# 2. 异常制造

这个异常需要在repeater模块编码
Expand All @@ -33,15 +31,15 @@ cd /opt/sandbox/bin
```shell
cd ~/sandbox/bin

只刷新有变更的module
#只刷新有变更的module
./sandbox.sh -p 66 -f

强制刷新 不管有没有变更
#强制刷新 不管有没有变更
./sandbox.sh -p 66 -F

关闭某个jvm进程的sandbox增强
#关闭某个jvm进程的sandbox增强
./sandbox.sh -p 66 -S

显示加载了哪些模块
#显示加载了哪些模块
./sandbox.sh -p 66 -l
```

0 comments on commit afe635e

Please sign in to comment.