Ce contenu n'est pas disponible dans la langue sélectionnée.

A.6. perf


The perf tool provides a number of useful commands, some of which are listed in this section. For detailed information about perf, see the Red Hat Enterprise Linux 7 Developer Guide, or refer to the man pages.
perf stat
This command provides overall statistics for common performance events, including instructions executed and clock cycles consumed. You can use the option flags to gather statistics on events other than the default measurement events. As of Red Hat Enterprise Linux 6.4, it is possible to use perf stat to filter monitoring based on one or more specified control groups (cgroups).
For further information, read the man page:
$ man perf-stat
Copy to Clipboard Toggle word wrap
perf record
This command records performance data into a file which can be later analyzed using perf report. For further details, read the man page:
$ man perf-record
Copy to Clipboard Toggle word wrap
perf report
This command reads the performance data from a file and analyzes the recorded data. For further details, read the man page:
$ man perf-report
Copy to Clipboard Toggle word wrap
perf list
This command lists the events available on a particular machine. These events vary based on the performance monitoring hardware and the software configuration of the system. For further information, read the man page:
$ man perf-list
Copy to Clipboard Toggle word wrap
perf top
This command performs a similar function to the top tool. It generates and displays a performance counter profile in realtime. For further information, read the man page:
$ man perf-top
Copy to Clipboard Toggle word wrap
perf trace
This command performs a similar function to the strace tool. It monitors the system calls used by a specified thread or process and all signals received by that application. Additional trace targets are available; refer to the man page for a full list:
$ man perf-trace
Copy to Clipboard Toggle word wrap
Red Hat logoGithubredditYoutubeTwitter

Apprendre

Essayez, achetez et vendez

Communautés

À propos de la documentation Red Hat

Nous aidons les utilisateurs de Red Hat à innover et à atteindre leurs objectifs grâce à nos produits et services avec un contenu auquel ils peuvent faire confiance. Découvrez nos récentes mises à jour.

Rendre l’open source plus inclusif

Red Hat s'engage à remplacer le langage problématique dans notre code, notre documentation et nos propriétés Web. Pour plus de détails, consultez le Blog Red Hat.

À propos de Red Hat

Nous proposons des solutions renforcées qui facilitent le travail des entreprises sur plusieurs plates-formes et environnements, du centre de données central à la périphérie du réseau.

Theme

© 2026 Red Hat
Retour au début