vim'ing snapshot looks like a corrupted file

Questions about YourKit Java Profiler
Post Reply
whatismyname
Posts: 2
Joined: Mon Feb 04, 2019 11:26 pm

vim'ing snapshot looks like a corrupted file

Post by whatismyname »

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
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Re: vim'ing snapshot looks like a corrupted file

Post by Anton Katilin »

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.
whatismyname
Posts: 2
Joined: Mon Feb 04, 2019 11:26 pm

Re: vim'ing snapshot looks like a corrupted file

Post by whatismyname »

is there a command to generate a plain text file or similar (json,yaml) where I can vim?
Vladimir Kondratyev
Posts: 1624
Joined: Tue Aug 10, 2004 7:52 pm

Re: vim'ing snapshot looks like a corrupted file

Post by Vladimir Kondratyev »

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!"
Post Reply