Fully featured low overhead profiler for Java EE and Java SE platforms.
Performance monitoring and profiling of Jenkins, TeamCity, Gradle, Maven, Ant, JUnit and TestNG.
Easy to use performance and memory profiler for .NET framework.

vim'ing snapshot looks like a corrupted file

Moderators: Vladimir Kondratyev, Anton Katilin

vim'ing snapshot looks like a corrupted file

Postby whatismyname » Mon Feb 04, 2019 11:29 pm

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

Re: vim'ing snapshot looks like a corrupted file

Postby Anton Katilin » Tue Feb 05, 2019 6:12 am

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

Re: vim'ing snapshot looks like a corrupted file

Postby whatismyname » Tue Feb 05, 2019 5:59 pm

is there a command to generate a plain text file or similar (json,yaml) where I can vim?
whatismyname
 
Posts: 2
Joined: Mon Feb 04, 2019 11:26 pm

Re: vim'ing snapshot looks like a corrupted file

Postby Vladimir Kondratyev » Tue Feb 05, 2019 9:13 pm

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!"
Vladimir Kondratyev
 
Posts: 1474
Joined: Tue Aug 10, 2004 7:52 pm
Location: Düsseldorf, Germany


Return to Java Profiler

Who is online

Users browsing this forum: Google [Bot] and 18 guests

cron