Sh - Perf Utility

> Procedural Languages > Bash Shell and (Unix|Linux) Utilities (XCU)

1 - About

Perf is the performance counters subsystem in Linux.

3 - Installation

yum -y install perf

where:

Advertising

4 - 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.

Advertising

5 - Documentation / Reference

lang/bash/perf.txt · Last modified: 2017/05/24 10:33 by gerardnico