Analyzing VM exit reasons and statistics with kvmexit command.

Solution Verified - Updated -

Issue

  • Analyzing VM exit reasons and statistics with kvmexit command.
# /usr/share/bcc/tools/kvmexit 
Display kvm exit reasons and statistics for all threads... Hit Ctrl-C to end.
PID      TID      KVM_EXIT_REASON                     COUNT
73557    73584    HLT                                 76      
73557    73584    MSR_READ                            4       
73557    73584    MSR_WRITE                           227     
73557    73584    EPT_VIOLATION                       1       
73557    73584    EPT_MISCONFIG                       12      

73509    73533    EXTERNAL_INTERRUPT                  2       
73509    73533    HLT                                 73      
73509    73533    MSR_READ                            4       
73509    73533    MSR_WRITE                           224     
73509    73533    EPT_MISCONFIG                       12      


  - 73557 : PID of Machine 1
  - 73509 : PID of Machine 2

Environment

  • Red Hat Enterprise Linux 8.
  • Red Hat Enterprise Linux 9.
    • bcc-tools

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content