IoTDB Runtime information collection tools
未关闭
- 主要语言
- Java
- 星标
- 6.4k
- 派生
- 1.2k
- 平均合并
- 1 天 23 小时
- 30 天内合并 PR
- 115
描述
# Tools
Supply two scripts to collect the information of an IoTDB process. This could be used by the operations people in the production environment.
* tools/iotdb-runtime-information-collection.sh
* tools/iotdb-runtime-information-collection.bat
# Collect information:
## Thread status (To detect deadlock)
* use jps to get the IoTDB process id -> pid
* collect the thread status twice (interval 1s)
* jstack -l pid > jstack_1.log
* jstack -l pid > jstack_2.log
贡献指南
调研方向
从 tools 目录开始,检查所请求的 tools/iotdb-runtime-information-collection.sh 和 tools/iotdb-runtime-information-collection.bat 入口点。检查 jps 如何识别 IoTDB 进程,然后以一秒的间隔使用两次 jstack,生成 jstack_1.log 和 jstack_2.log。当两个脚本都收集到生产运维所需的指定线程状态信息时,即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java, shell
- 领域
- devops, tooling
- Issue 类型
- 功能
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100