I want to study btrace.
java process user is yubaofu
yubaofu@btrace sudo sh /home/yubaofu/study/btrace/bin/btrace 24234 JInfo.class
well-known file is not secure
yubaofu@btrace sh /home/yubaofu/study/btrace/bin/btrace 24234 JInfo.class
Connection refused
how to solve it ?
os:ubuntu12
jdk:jdk7
You should check the file /tmp/hsperfdata_$USER/$PID. what's the $USER exactly ? Make sure it's the same user that you initialize btrace with.