Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

htt接口执行vmtool命令返回结果不符合预期 #1865

Closed
1 task
pepeshore opened this issue Jul 19, 2021 · 1 comment
Closed
1 task

htt接口执行vmtool命令返回结果不符合预期 #1865

pepeshore opened this issue Jul 19, 2021 · 1 comment
Milestone

Comments

@pepeshore
Copy link

  • 我已经在 issues 里搜索,没有重复的issue。

环境信息

  • arthas-boot.jar 或者 as.sh 的版本: 3.5.2
  • Arthas 版本: 3.5.2
  • 操作系统版本: xxx
  • 目标进程的JVM版本: 1.9
  • 执行arthas-boot的版本: xxx

重现问题的步骤

  1. 启动任意进程
  2. 执行./as.sh挂载agent
  3. 执行 curl -Ss -XPOST http://localhost:8563/api -d '
    {
    "action":"exec",
    "command":"vmtool --action getInstances --className com.alibaba.arms.es.EsController --express 'instances[0]'"
    }
    '
    挂载agent

期望的结果

有指定类的实例信息

实际运行的结果

{"body":{"command":"vmtool --action getInstances --className com.alibaba.arms.es.EsController --express instances[0]","jobId":1,"jobStatus":"TERMINATED","results":[{"jobId":1,"statusCode":0,"type":"status"}],"timeExpired":false},"sessionId":"8c385ec3-ef35-4680-95b5-d813a55dfe05","state":"SUCCEEDED"}

@hengyunabc hengyunabc added this to the 3.6.1 milestone Apr 24, 2022
@hengyunabc
Copy link
Collaborator

4faefc4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants