BCC tool 'runqslower -p' fails with Traceback

Solution Verified - Updated -

Issue

  • BCC tool runqslower -p fails with Traceback
# /usr/share/bcc/tools/runqslower -p 5023
Traceback (most recent call last):
  File "/usr/share/bcc/tools/runqslower", line 221, in <module>
    bpf_text = bpf_text.replace('FILTER_PID', 'pid != %s' % pid)
NameError: name 'pid' is not defined

Environment

  • Red Hat Enterprise Linux 8
  • 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