August 2017
Intermediate to advanced
278 pages
8h 53m
English
The ngxtop utility can be simply called from the command line, and it will attempt to read the log file location from the configuration. However, if you're running virtual hosts, it may not read the access log location correctly. The easiest way in this scenario is to manually specify the log location.
Consider the following example:
ngxtop -l /var/log/nginx/access.log
This will display a console-based view of what URLs are being accessed. Here's a basic example:

This will refresh every second, giving you near instantaneous information about what URLs NGINX is serving, but that's not all. The ngxtop utility is quite configurable ...
Read now
Unlock full access