Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Mail Systems
Eclipse Documentation

How To Guides
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Problem Solutions
Privacy Policy




41.3. Starting and Stopping OProfile

To start monitoring the system with OProfile, execute the following command as root:

opcontrol --start

Output similar to the following is displayed:

Using log file /var/lib/oprofile/oprofiled.log
Daemon started.
Profiler running.

The settings in /root/.oprofile/daemonrc are used.

The OProfile daemon, oprofiled, is started; it periodically writes the sample data to the /var/lib/oprofile/samples/ directory. The log file for the daemon is located at /var/lib/oprofile/oprofiled.log.

To stop the profiler, execute the following command as root:

opcontrol --shutdown

  Published under the terms of the GNU General Public License Design by Interspire