Monitoring CPU performance

This recipe will show you how to visualize using pmchart and command-line tools to monitor your CPU's performance. We will have a look at the following metrics:

  • kernel.all.cpu.wait.total
  • kernel.all.cpu.irq.hard
  • kernel.all.cpu.irq.soft
  • kernel.all.cpu.steal
  • kernel.all.cpu.sys
  • kernel.all.cpu.user
  • kernel.all.cpu.nice
  • kernel.all.cpu.idle

How to do it…

This will show you how to create the text and graphical representation of performance data. Perform the following steps:

  1. Display live data for the preceding metrics with a 1-second interval for the host, localhost. Execute the following command:
    ~]# pmdumptext -H -t 1 -i -l kernel.all.cpu.wait.total kernel.all.cpu.irq.hard kernel.all.cpu.irq.soft kernel.all.cpu.steal kernel.all.cpu.sys ...

Get Red Hat Enterprise Linux Server Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.