xrmx / uwsgitop

top-like app for monitoring uWSGI instances

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

column shift when req count is high but not even distributed

tobixx opened this issue · comments

A "picture" tells more than words:

 6      45.5    54736   39032695        12      0       0       idle    14ms    0       0       71.0G   1       0       24469m  11:27:02
 5      17.5    54734   15012872        4       0       0       idle    37ms    0       0       28.0G   1       0       10254m  11:27:02
 1      9.9     54728   8511127 0       0       0       idle    17ms    0       0       15.0G   1       0       5622m   11:27:02
 2      9.7     54729   8303945 1       0       0       idle    10ms    0       0       15.0G   1       0       5308m   11:27:02
 4      9.0     54731   7739046 8       0       0       idle    42ms    0       0       14.0G   1       0       5437m   11:27:02
 3      8.3     54730   7153563 1       0       0       idle    24ms    0       0       13.0G   1       0       5017m   11:27:02
 0      0.0     0       0       0       0       0       cheap   0ms     0       0       0       0       0       0       --:--:--

So first two lines , where req count column has one digit more than the others shifts following columns but not the case for the rows with one digit less. Results in inconsistent view and hard to compare screen.

Same issue here:

image

Actually first two workers serve most requests so RunT always bigger than others, how about setting a max width for RunT column, or switch last two column, since the LastSpwn always has a const width?

Got a pretty egregious example here

image