i set up yourkit to my java program and ran:
java -jar yjp-controller-api-redist.jar localhost 10001 capture-performance-snapshot
to generate a snapshot file
when I vim'd the snapshot file, it was not readable as if it is corrupted. how can I read this snapshot file?
I do not have GUI and this is all done through terminal
vim'ing snapshot looks like a corrupted file
-
- Posts: 2
- Joined: Mon Feb 04, 2019 11:26 pm
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
Re: vim'ing snapshot looks like a corrupted file
The snapshot is a binary file. The only way to open it is to use the profiler UI. Transfer the file to a machine where you have the profiler UI installed.
-
- Posts: 2
- Joined: Mon Feb 04, 2019 11:26 pm
Re: vim'ing snapshot looks like a corrupted file
is there a command to generate a plain text file or similar (json,yaml) where I can vim?
-
- Posts: 1624
- Joined: Tue Aug 10, 2004 7:52 pm
Re: vim'ing snapshot looks like a corrupted file
YourKit profiler allows to export data in different formats. Please find more details at https://www.yourkit.com/docs/java/help/export.jsp
Best regards,
Vladimir Kondratyev
YourKit GmbH
http://www.yourkit.com
"Don't get lost in data, get information!"
Best regards,
Vladimir Kondratyev
YourKit GmbH
http://www.yourkit.com
"Don't get lost in data, get information!"