jtoolkit
jtoolkit copied to clipboard
JToolkit is a tool set for Java troubleshooting. It integrates various Linux commands, Shell scripts, Java commands, and various third-party useful tools to help us quickly locate problems through a f...
中文说明
About JToolkit
JToolkit is a tool set for Java troubleshooting. It integrates various Linux commands, Shell scripts, Java commands, and various third-party useful tools to help us quickly locate problems through a fool-like interface and convenient operations. Currently, VjTop, Async-Profiler of Vipshop has been integrated /async-profiler).
Features included
1.CPU/LOAD issues analysis
- Display the percentage of CPU time in the Java thread stack
- Thread CPU time percentage ranking (VJTop)
- Generate flame graph (10 minutes)
- Generate flight record JFR (10 minutes)
2.GC issues analysis
- Long FullGC time
- FullGC keeps
- FullGC is frequent
- Long time for YoungGC
- Remote analysis of gc.log
3.Swap issues analysis
- Statistics on the Swap usage of each process
- Close Swap
4. Memory issues analysis
- Heap memory usage
- Top 10 object instance statistics
- Dump heap memory
5.JVM parameters
- JVM parameter check
- JVM parameter generation
Instructions for use
1.copy script
Execute the following script in a directory with write permission:
mkdir jtoolkit && cd jtoolkit && wget --no-cache --no-check-certificate https://raw.githubusercontent.com/fengfu/jtoolkit/master/jtoolkit.sh && source jtoolkit.sh
2. Run SecureCRT Script
Students who use SecureCRT can download the run_jtoolkit.py file to their own machine, and run the downloaded file through the [Script]-[Run] function.
In addition, some scripts require sudo permissions, so please make sure you have applied for sudo permissions on the running server.
Feedback
Welcome to https://github.com/fengfu/jtoolkit/issues to make a brick~