xrmx / uwsgitop

top-like app for monitoring uWSGI instances

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Not having memory reporting enabled lead to full-red color

unbit opened this issue · comments

commented

In this line:

https://github.com/xrmx/uwsgitop/blob/master/uwsgitop#L271

we check for rss == 0, and if true the color of the curses pair is set to red.

Unfortunately if no memory-reporting is enabled, rss is always 0

Yep, it's event documented in the README. Are you suggesting to stop handling the case?

commented

The main problem is that i am not quite sure that checking for rss == 0 for marking a reload is a reliable approach

Agreed, then let's just kill it.