Cache top fails
- Dominant language
- C
- Stars
- 22.7k
- Forks
- 4.1k
- Avg merge
- 10d 4h
- Merged PRs (30d)
- 3
Description
Bcc tools works fine, but when I run cachetop utility it gives following error
`Traceback (most recent call last):
File "./cachetop", line 254, in
curses.wrapper(handle_loop, args)
File "/usr/lib/python2.7/curses/wrapper.py", line 43, in wrapper
return func(stdscr, *args, **kwds)
File "./cachetop", line 229, in handle_loop
*stat, username=pwd.getpwuid(int(stat[1]))[0]
_curses.error: addstr() returned ERR`
But sometimes it works for a few seconds and gives the same error.
I've got 4.4.0-66-generic Ubuntu Xenial
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the failure by running the cachetop utility on Ubuntu Xenial, then inspect cachetop at line 229 where curses.addstr() reports the error. Determine the terminal or output condition that triggers the intermittent failure and verify that cachetop continues running without the curses error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux, python
- Domain
- cli, observability
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100