Chapter 1. Overview of performance monitoring options
The following are some of the performance monitoring and configuration tools available in Red Hat Enterprise Linux 8:
Performance Co-Pilot (
pcp) is used for monitoring, visualizing, storing, and analyzing system-level performance measurements. It allows the monitoring and management of real-time data, and logging and retrieval of historical data.
Red Hat Enterprise Linux 8 provides several tools that can be used from the command line to monitor a system outside run level 5. The following are the built-in command line tools:
topis provided by the
procps-ngpackage. It gives a dynamic view of the processes in a running system. It displays a variety of information, including a system summary and a list of tasks currently being managed by the Linux kernel.
psis provided by the
procps-ngpackage. It captures a snapshot of a select group of active processes. By default, the examined group is limited to processes that are owned by the current user and associated with the terminal where the
pscommand is executed.
Virtual memory statistics (
vmstat) is provided by the
procps-ngpackage. It provides instant reports of your system’s processes, memory, paging, block input/output, interrupts, and CPU activity.
System activity reporter (
sar) is provided by the
sysstatpackage. It collects and reports information about system activity that has occurred so far on the current day.
perfuses hardware performance counters and kernel trace-points to track the impact of other commands and applications on a system.
bcc-toolsis used for BPF Compiler Collection (BCC). It provides over 100
eBPFscripts that monitor kernel activities. For more information on each of this tool, see the man page describing how to use it and what functions it performs.
turbostatis provided by the
kernel-toolspackage. It reports on processor topology, frequency, idle power-state statistics, temperature, and power usage on the Intel 64 processors.
iostatis provided by the
sysstatpackage. It monitors and reports on system input/output device loading to help administrators make decisions about how to balance input/output load between physical disks.
irqbalancedistributes hardware interrupts across processors to improve system performance.
ssprints statistical information about sockets, allowing administrators to assess device performance over time. Red Hat recommends using
netstatin Red Hat Enterprise Linux 8.
numastatis provided by the
numactlpackage. By default,
numastatdisplays per-node NUMA hit an miss system statistics from the kernel memory allocator. Optimal performance is indicated by high
numa_hitvalues and low
numadis an automatic NUMA affinity management daemon. It monitors NUMA topology and resource usage within a system that dynamically improves NUMA resource allocation, management, and therefore system performance.
SystemTapmonitors and analyzes operating system activities, especially the kernel activities.
OProfilemonitors the system wide performance. It uses the processor’s dedicated performance monitoring hardware to retrieve information about the kernel and system executable to determine the frequency of certain events. These events can be when the memory is referenced, the number of second-level cache requests, and the number of hardware requests received.
valgrindanalyzes applications by running it on a synthetic CPU and instrumenting existing application code as it is executed. It then prints commentary that clearly identifies each process involved in application execution to a user-specified file, file descriptor, or network socket. It is also useful for finding memory leaks.
pqosis provided by the the
intel-cmt-catpackage. It monitors and controls CPU cache and memory bandwidth on recent Intel processors.
For more information, see the man pages of
For more information on
pcp, see the documentation in the
For more information on the
awaitvalue and what can cause its values to be high, see the Red Hat Knowledgebase article: What exactly is the meaning of value "await" reported by iostat?.