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

使用arthas 输出到日志文件时能加上时间戳吗?方便时间定位 #556

Closed
48929645 opened this issue Mar 1, 2019 · 4 comments
Milestone

Comments

@48929645
Copy link

48929645 commented Mar 1, 2019

Arthas 版本: 3.1.0

重现问题的步骤

  1. dashboard >> &
  2. 打开日志文件能看到dashboard输出的相关信息,能否在每次输出时加上时间戳,方便定位异常时的具体时间点
@esolve
Copy link

esolve commented Mar 13, 2019

arthas如何输出到日志文件啊?譬如我 ./as.sh 后,执行 watch命令,屏幕打印很多信息然后展示不完全,如何将打印的结果信息导出到文件里?

@hengyunabc hengyunabc added this to the 3.1.1 milestone May 14, 2019
@hengyunabc
Copy link
Collaborator

@48929645 实际上dashboard命令在Runtime一栏有输出一个 uptime 的,但可能因为默认的高度太小,所以没有打印出来。

@hengyunabc
Copy link
Collaborator

@esolve watch test ttt target >> /tmp/result.txt

@hengyunabc
Copy link
Collaborator

@48929645 下个版本Runtime的输出会大很多,应该可以打印出 uptime。 #696

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

3 participants