uWSGI top-like interface

0.12 · active · verified Thu Apr 16

uwsgitop is a command-line tool that provides a 'top-like' interface for real-time monitoring of uWSGI applications. It connects to the uWSGI Stats Server to display worker statistics, memory usage, request rates, and other vital metrics in a curses-based terminal view. The current version is 0.12, and while functional, the project exhibits a slow release cadence, primarily for maintenance rather than active feature development.

Common errors

Warnings

Install

Quickstart

To use uwsgitop, you must first enable the Stats Server in your uWSGI configuration. This can be done via a UNIX socket or an HTTP address. Then, execute the `uwsgitop` command, providing the address of the uWSGI Stats Server.

# 1. Start uWSGI with the stats server enabled (e.g., using a UNIX socket)
uwsgi --module myapp --socket :3030 --stats /tmp/stats.socket --master --processes 4

# 2. In a new terminal, run uwsgitop pointing to the stats socket
uwsgitop /tmp/stats.socket

# Alternatively, if uWSGI stats are served over HTTP:
uwsgi --module myapp --http :3030 --stats :3031 --stats-http --master --processes 4
uwsgitop http://127.0.0.1:3031

view raw JSON →