pmatop fails with error "'_ProcPrint' object has no attribute 'command_line'
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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
