Table of Contents

About

Perf is the performance counters subsystem in Linux.

Installation

yum -y install perf

where:

Syntax

perf [--version] [--help] COMMAND [ARGS]

Where:

  • command can be:
    • annotate Read perf.data (created by perf record) and display annotated code
    • list List all symbolic event types
    • record Run a command and record its profile into perf.data
    • report Read perf.data (created by perf record) and display the profile
    • sched Tool to trace/measure scheduler properties (latencies)
    • stat Run a command and gather performance counter statistics
    • timechart Tool to visualize total system behavior during a workload
    • top System profiling tool.
    • trace Read perf.data (created by perf record) and display trace output

See 'perf help COMMAND' for more information on a specific command.

Documentation / Reference