iovisor / iovisor/bcc

cachetop: various issues

Open
#2,179 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
22.7k
Forks
4.1k
Avg merge
10d 4h
Merged PRs (30d)
3

Description

We've had problems with curses before (and still do, #1045) but I've just spent far too long trying to capture a screenshot of cachetop output and failing. It doesn't pause on Ctrl-S, and there's no -C to give rolling output like with other top tools.

I'm filing this ticket to suggest:
1. adding to CONTRIBUTING_SCRIPTS.md: do not use curses.
2. ditching curses from this tool.

We could fix Ctrl-S and -C with cachetop, but then what else?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the cachetop entry point and CONTRIBUTING_SCRIPTS.md, then review how curses currently controls its output. Compare the proposed removal with the stated Ctrl-S and -C needs in other top tools. Done requires an agreed scope for changing cachetop and the contributor guidance, with the resulting behavior defined.

Written by the indexing model from the issue text.

Assessment

Domain
cli
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.