Skip to content

Show a detail graph for the selected sessions IO history - #1977

Open
leftwo wants to merge 1 commit into
alan/ctop-sparkfrom
alan/ctop-detail
Open

leftwo wants to merge 1 commit into
alan/ctop-sparkfrom
alan/ctop-detail

Conversation

@leftwo

@leftwo leftwo commented Sep 17, 2026

Copy link
Copy Markdown
Contributor

This adds a graph of the DELTA column's history for a given session.
Select "d" (for detailed) to see the graph of the last 100 delta values to a given session.

It looks like this:

   PID  SESSION DS0 DS1 DS2    NEXTJOB DELTA EXTL RECD RECN
 28483 905d217c ACT ACT ACT 4937352833 10019    0  344    0  
┌ Job rate - PID 28483 - Session 905d217c ──────────────────────────────────────────┐
│10253⢰   ⡄  ⡀  ⢀    ⢀ ⢀⠔⠒⡇  ⡄ ⡰⡇         ⢀       ⢠⠋⡆  ⡀    ⢀         ⢠⡇  ⡤⢴ ⡔⢇  ⢠⡀ │
│     ⢸ ⣧⢰⢹ ⢀⢧⣴ ⢸    ⡾⡀⢸  ⡇⢠⢰⢱ ⡇⢣⢠  ⢠⡀  ⢠ ⢸⣆⢧ ⢰⠚⠤⡄⢸ ⢸ ⢰⠙⡄  ⢸⢹    ⢸⠹⡀⡀⢀⠇⢸  ⡇⠸⡀⡇⠈⢆ ⡇⠑ │
│     ⢸ ⡟⡎⢸ ⢸⠈⢸ ⢸⡆  ⢸ ⡇⢸  ⡇⢸⡜⢸ ⡇⢸⢻  ⢸⢱  ⡸⡇⢸⠘⠘⡄⢸  ⡇⢸ ⢸ ⡎ ⢸  ⡇⢸ ⢠ ⡆⢸ ⠉⡇⢸ ⠸⡀⢰⠁ ⡇⡇ ⢸ ⡇  │
│     ⠘⡄⡇ ⠸⡀⡎ ⢸ ⡇⡇⡇ ⡇ ⡇⢸  ⡇⢸⠁⠸⡀⡇ ⢸  ⡎⢸  ⡇⡇⢸  ⡇⡎  ⡇⡎ ⢸ ⡇ ⢸ ⡰⠁⢸ ⢸⡀⡇⢸  ⡇⢸  ⡇⢸  ⣿  ⢸ ⡇  │
│      ⡇⡇  ⡇⡇ ⢸ ⡇⢇⡇⢸  ⢇⢸  ⡇⡇  ⡇⡇ ⠘⡄ ⡇⢸ ⢀⠇⡇⢸  ⡇⡇  ⡇⡇  ⡇⡇ ⢸ ⡇ ⢸ ⢸⣧⢻⢸  ⡇⢸  ⡇⢸  ⢹  ⢸⢸   │
│      ⡇⡇  ⡇⡇ ⢸ ⡇⢸⢇⢸  ⢸⡸  ⢇⡇  ⣷⠁  ⡇⢰⠁⢸ ⢸ ⢸⢸  ⢇⡇  ⡇⡇  ⡇⡇ ⢸⢠⠃ ⢸ ⢸⢿⢸⡇  ⡇⡜  ⡇⡜  ⠘  ⢸⢸   │
│      ⡇⡇  ⡇⡇ ⢸ ⡇⠈⢸⢸  ⢸⡇  ⢸⡇  ⣿   ⡇⡸ ⢸ ⡜ ⢸⢸  ⢸⠇  ⢱⡇  ⡇⡇ ⠈⣾  ⢸ ⢸⠸⢸⡇  ⡇⡇  ⡇⡇     ⢸⢸   │
│      ⣿   ⣇⠇ ⢸ ⡇ ⢸⢸  ⢸⡇  ⢸⡇  ⢿   ⡇⡇ ⢸ ⡇ ⢸⡎  ⢸   ⢸⡇  ⣿   ⣿  ⢸ ⢸  ⡇  ⡇⡇  ⢸⡇      ⣿   │
│8920  ⣿   ⢿  ⢸ ⡇ ⢸⢸  ⠸⡇  ⢸⡇  ⢸   ⡇⡇ ⢸ ⡇ ⢸⡇  ⠸   ⢸⠁  ⣿   ⡿  ⠈⡆⢸  ⠇  ⢇⡇  ⢸⠇      ⣿   │
│      ⢻   ⢸  ⢸ ⡇ ⢸⡎   ⡇  ⢸   ⠸   ⡇⡇ ⢸ ⡇ ⢸⡇      ⢸   ⢸   ⡇   ⡇⢸     ⢸⡇  ⢸       ⡟   │
│      ⢸   ⢸  ⢸⢰⠁ ⢸⡇   ⠇  ⢸       ⢣⠃ ⢸ ⡇ ⠘⡇      ⠸   ⢸   ⠃   ⡇⢸     ⢸⡇  ⠘       ⡇   │
│      ⢸   ⠘  ⢸⢸  ⠈⡇      ⠘       ⢸  ⢸ ⡇  ⡇          ⠘       ⡇⡇     ⢸⡇          ⡇   │
│      ⠸      ⢸⢸   ⡇              ⢸  ⢸ ⡇  ⡇                  ⡇⡇     ⢸⠁          ⠁   │
│             ⠸⣸   ⡇              ⠘  ⢸⢠⠃  ⠃                  ⡇⡇     ⢸               │
│              ⣿                     ⢸⢸                      ⡇⡇     ⢸               │
│              ⣿                     ⢸⢸                      ⡇⡇     ⠸               │
│7588          ⣿                     ⢸⢸                      ⢣⡇                     │
│              ⣿                     ⠸⣸                      ⢸⡇                     │
│              ⣿                      ⣿                      ⠘⡇                     │
│              ⣿                      ⣿                       ⠃                     │
│              ⡿                      ⣿                                             │
│              ⡇                      ⣿                                             │
│              ⡇                      ⣿                                             │
│              ⡇                      ⣿                                             │
│6255          ⡇                      ⣿                                             │
│              ⡇                      ⣿                                             │
│                                     ⡟                                             │
│                                     ⡇                                             │
│                                     ⡇                                             │
│                                     ⡇                                             │
│                                     ⡇                                             │
│                                     ⡇                                             │
│4923                                 ⡇                                             │
└ Samples: 100 | Min: 4923 | Max: 10253 | Avg: 9540 | Current: 10019 ───────────────┘
['d'/Esc: Back | 'q': Quit]                                                   

(Though, the copy/paste from terminal did not do it justice, just assume it looks pretty.)

@leftwo
leftwo requested a review from jmpesp September 17, 2026 17:15
@leftwo
leftwo added this pull request to stack #1969 September 17, 2026 17:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant