oracle / oracle/visualvm

Extract JFR information from Linux Command Line

Open
#592 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Java
Stars
3.3k
Forks
334
PR merge metrics
No merged PRs in 30d

Description

Hello,
First of all, thanks to all the developers who continue to keep this project alive. I would like to ask if there is a way to extract information from a JFR file via the command line. My JFR file is generated automatically during the execution of software I wrote. Through the GUI on the Sampler Tab, I can see all the processes that have been executed, along with their respective functions, execution times, and CPU usage. Is it possible to get the same information in a text file extracted via the command line?
I need to extract this information dynamically during the mass execution of my software to check if execution times and resource usage remain consistent. Thank you very much for your support.
Marco

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the JFR information shown in the GUI's Sampler Tab and determine whether it has an existing command-line entry point. Done would mean extracting the requested process, function, execution-time, and CPU-usage information into a text file during automated runs.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
cli, performance
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.