Runing btrace in a single command


/ Published in: Java
Save to your folder(s)

Running a btrace script takes two separate steps by default:
1. Running jps to get the Java process ID.
2. Running btrace on the ID.
A simple awk script can merge the two into a single step.

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.