Show Table of Contents
Chapter 10. Profiling
Profiling is monitoring the resource usage of an application with the aim of detecting areas for improvement. One of the difficulties in profiling is choosing a tool which provides useful data without having too great an impact on performance itself. On Red Hat Enterprise Linux, the OProfile tool is available for profiling the JBoss Enterprise Application Platform, requiring less system resources that other profiling tools.
10.1. Install
Task: Install OProfile
Complete this task to install OProfile and its dependencies.
- In a terminal, enter the following command:
yum install oprofile oprofile-jit
- For all enabled yum repositories (/etc/yum.repos.d/*.repo), replace
enabled=0withenabled=1in each file's debuginfo section. If there is nodebugsection, add it, using the example below as a template.[rhel-debuginfo] name=Red Hat Enterprise Linux $releasever - $basearch - Debug baseurl=ftp://ftp.redhat.com/pub/redhat/linux/enterprise/$releasever/en/os/$basearch/Debuginfo/ enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
- In a terminal, enter the following command, modifying the JDK version number to match the version installed:
yum install yum-plugin-auto-update-debug-info java-1.6.0-openjdk-debuginfo

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.