Skip to main content

java-asprof

该skill没有执行文件,为操作指引:采集Java执行情况

Jump to install

Source facts

Repository
hellyguo/self-ai-spec
Last source activity
August 27, 2026 at 03:35
Detected SKILL.md language
Chinese
Stars
8
Forks
0

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
name
java-asprof
description
该skill没有执行文件,为操作指引:采集Java执行情况
# 代码编译 1. 通过skill: java-env确定jdk版本,确定mvnd/mvn版本 2. 通过asprof进行采集,路径在 ${HOME}/app/async-profiler 3. 命令可参考 ```shell #Basic events: # cpu # alloc # lock # wall # itimer # ctimer asprof -i 1000 -e $2 -d $wait_time -f /tmp/profile.txt $(jps | grep $1 | cut -d" " -f 1) #asprof -i 1000 -e $2 -t -d $wait_time -f /tmp/profile.txt $(jps | grep $1 | cut -d" " -f 1) #asprof -i 1000 -e $2 -t -d $wait_time --cstack dwarf -f /tmp/profile.txt $(jps | grep $1 | cut -d" " -f 1) #asprof -e $2 -t -d 60 -f /tmp/profile.txt $(ps | grep $1 | grep -v grep | sed 's/\t/ /g' | tr -s ' ' | cut -d' ' -f 2) ```
View on GitHub