Skip to main content

java-asprof

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

跳到安装

来源信息

仓库
hellyguo/self-ai-spec
最近来源活动
2026年8月27日 03:35
检测到的 SKILL.md 语言
中文
星标
8
分支
0

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
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) ```
在 GitHub 查看