Hi all,
I am trying to use the yjp-controller-api-redist.jar (2015_build_15072) for call counting, but do not see the option.
The options I see are below. Am I misreading or there is no support as of this build.
Thanks.
YourKit Java Profiler 2015 build 15072 command line tools
Usage: java -jar yjp-controller-api-redist.jar <host> <port> <command>
where <command> is one of:
print-current-status
capture-memory-snapshot
capture-hprof-snapshot
capture-performance-snapshot
start-cpu-sampling
start-cpu-tracing
stop-cpu-profiling
clear-cpu-data
start-alloc-recording-all
// record all objects
start-alloc-recording-adaptive [alloc-sampled]
// record all objects with size >= 4 KB, and only each 10th smaller object
stop-alloc-recording
clear-alloc-data
start-monitor-profiling
stop-monitor-profiling
clear-monitor-data
force-gc
Examples:
java -jar yjp-controller-api-redist.jar localhost 10001 capture-memory-snapshot
java -jar yjp-controller-api-redist.jar localhost 10001 start-cpu-sampling
Call counting from command line option
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
Re: Call counting from command line option
Hi,
The command line tool you refer to is missing this command at the moment. We'll add it in the next build.
Please note that you can use the profiler API for this purpose, namely the method Controller.startCPUCallCounting():
https://www.yourkit.com/docs/java/help/api.jsp
Also you can use the startup option "call_counting":
https://www.yourkit.com/docs/java/help/ ... ptions.jsp
Best regards,
Anton
The command line tool you refer to is missing this command at the moment. We'll add it in the next build.
Please note that you can use the profiler API for this purpose, namely the method Controller.startCPUCallCounting():
https://www.yourkit.com/docs/java/help/api.jsp
Also you can use the startup option "call_counting":
https://www.yourkit.com/docs/java/help/ ... ptions.jsp
Best regards,
Anton
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
Re: Call counting from command line option
Update:
https://www.yourkit.com/download/tmp/20 ... redist.jar
The new command is "start-cpu-call-counting".
To access the fix right now, please download and use the following yjp-controller-api-redist.jar:The command line tool you refer to is missing this command at the moment. We'll add it in the next build.
https://www.yourkit.com/download/tmp/20 ... redist.jar
The new command is "start-cpu-call-counting".
-
- Posts: 8
- Joined: Fri Oct 09, 2015 12:28 am
Re: Call counting from command line option
Thank you Anton! Great support.