IoTDB Runtime information collection tools
- Dominant language
- Java
- Stars
- 6.4k
- Forks
- 1.2k
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 115
Description
# 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
Contributor guide
Research direction
Start in the tools directory and review the requested tools/iotdb-runtime-information-collection.sh and tools/iotdb-runtime-information-collection.bat entry points. Check how jps identifies the IoTDB process, then use jstack twice with a one-second interval to produce jstack_1.log and jstack_2.log. Done means both scripts collect the specified thread-status information for production operations.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, shell
- Domain
- devops, tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100