lebinh/ngxtop — a developer tool — sits at 6.5k GitHub stars in the Developer Tools space. Real-time metrics for nginx server
Snapshot summary built from the project's own GitHub metadata — there's no written TopGit review yet. The page will update automatically when a full review is published.
WHY NO REVIEW YET
TopGit writes full reviews for the most-starred, most-requested repositories. This page is a snapshot until then — see the READ ME tab for the original README in full.
================================================================
ngxtop - real-time metrics for nginx server (and others)
ngxtop parses your nginx access log and outputs useful, top-like, metrics of your nginx server.
So you can tell what is happening with your server in real-time.
``ngxtop`` is designed to run in a short-period time just like the ``top`` command for troubleshooting and monitoring
your Nginx server at the moment. If you need a long running monitoring process or storing your webserver stats in external
monitoring / graphing system, you can try `Luameter <https://luameter.com>`_.
ngxtop tries to determine the correct location and format of nginx access log file by default, so you can just run
ngxtop and having a close look at all requests coming to your nginx server. But it does not limit you to nginx
and the default top view. ngxtop is flexible enough for you to configure and change most of its behaviours.
You can query for different things, specify your log and format, even parse remote Apache common access log with ease.
See sample usages below for some ideas about what you can do with it.
Installation
::
pip install ngxtop
Note: ngxtop is primarily developed and tested with python2 but also supports python3.
Usage
::
Usage:
ngxtop [options]
ngxtop [options] (print|top|avg|sum) <var>
ngxtop info
Options:
-l <file>, --access-log <file> access log file to parse.
-f <format>, --log-format <format> log format as specify in log_format directive.
--no-follow ngxtop default behavior is to ignore current lines in log
and only watch for new lines as they are written to the access log.
Use this flag to tell ngxtop to process the current content of the access log instead.
-t <seconds>, --interval <seconds> report interval when running in follow mode [default: 2.0]
-g <var>, --group-by <var> group by variable [default: request_path]
-w <var>, --having <expr> having clause [default: 1]
-o <var>, --order-by <var> order of output for default query [default: count]
-n <number>, --limit <number> limit the number of records included in report for top command [default: 10]
-a <exp> ..., --a <exp> ... add exp (must be aggregation exp: sum, avg, min, max, etc.) into output
-v, --verbose more verbose output
-d, --debug print every line and parsed record
-h, --help print this help message.
--version print version information.
Advanced / experimental options:
-c <file>, --config <file> allow ngxtop to parse nginx config file for log format and location.
-i <filter-expression>, --filter <filter-expression> filter in, records satisfied given expression are processed.
-p <filter-expression>, --pre-filter <filter-expression> in-filter expression to check in pre-parsing phase.
Supported log formats: combined (default), common, caddy (for Caddy JSON access logs)
No homepage URL was recorded for lebinh/ngxtop in TopGit's last sync. The README tab above frequently contains screenshots and demo links, or check the repository description on GitHub.
How active is development on lebinh/ngxtop?
The most recent commit recorded on lebinh/ngxtop was 8 months ago, based on the GitHub push timestamp. The repository has 472 forks — one of the better signals of community interest.
Is lebinh/ngxtop open source?
Yes — lebinh/ngxtop ships under the MIT license, which makes its source code freely readable (and, depending on license terms, forkable and reusable). Source: github.com/lebinh/ngxtop.
What license does lebinh/ngxtop use?
lebinh/ngxtop is released under the MIT license. Always verify the LICENSE file directly on GitHub for the authoritative terms — license strings can be edited out of sync with a project's actual stance.
What topics is lebinh/ngxtop associated with?
GitHub's repository topics for lebinh/ngxtop: "cli", "monitoring", "nginx". TopGit's editorial category is Developer Tools.
Where do I read more about lebinh/ngxtop?
This TopGit page is a snapshot — the READ ME tab shows the project's own README content (links stripped, images preserved). The GitHub repository at github.com/lebinh/ngxtop is the definitive source.
Read full README in the tab above.
Still deciding about ngxtop?
One click hands the question to an AI along with this page — see what it says about ngxtop.