uwsgitop is a top-like command that uses the uWSGI Stats Server to
monitor your uwsgi application.
To use uWSGI Stat Server simply use the stats option followed by
a valid socket address, for example:
uwsgi --module myapp --socket :3030 --stats /tmp/stats.socket
Note: If you want the stats served over HTTP you will need to also add
the stats-http option.
To start monitoring your application with uwsgitop call it with
the socket address like so:
uwsgitop /tmp/stats.socket
pip install uwsgitop
To display async core statistics (e.g. when using gevent) or to switch between
core statistics display mode, press a. To refresh the screen super fast press f,
and to quit, press q.
Lines would be displayed in different colors:
- default console text color, if the worker is idle
green, if the worker is busymagenta, if the worker is incheapmodeyellow, if the worker is handling an uwsgi signalblue, if the worker issuspended
Remember to enable memory-report in your uwsgi configuration to see how
much memory resources your uwsgi processes are consuming.
For more info on uWSGI Stats Server see http://projects.unbit.it/uwsgi/wiki/StatsServer
