Show Table of Contents
10.4. Data Capture
Before starting any profiling, start the OProfile daemon. Once it is running, each profiling session typically consists of the following steps:
- Start capturing profiling data
- Start/run the workload
- Stop capturing profiling data
- Dump profiling data
- Generate the profiling report
The simplest profiling report is produced by the command:
opreport -l --output-file=<filename>
This command produces a list of processes and their CPU cycles, from highest to lowest. Note that OProfile monitors the entire system, not just the Java processes. For additional information on OProfile, including additional reporting options, refer to the man page and the home page - http://oprofile.sourceforge.net.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.