pmatop fails with error "'_ProcPrint' object has no attribute 'command_line'

Solution In Progress - Updated -

Issue

  • Running pmatop to monitor performance in pcp, it's failing with the below error
$ pmatop
Traceback (most recent call last):
  File "/bin/pmatop", line 776, in <module>
    status = curses.wrapper(main)   # pylint: disable-msg=C0103
  File "/usr/lib64/python2.7/curses/wrapper.py", line 43, in wrapper
    return func(stdscr, *args, **kwds)
  File "/bin/pmatop", line 714, in main
    stdscr.move (proc.command_line, 0)
AttributeError: '_ProcPrint' object has no attribute 'command_line'

Environment

  • Red Hat Enterprise Linux 7

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