We earn commission when you buy through affiliate links.

This does not influence our reviews or recommendations.Learn more.

Monitoring webserver is essential to see whats happening on your website.

ngxtop

In this article, Ill explain how to install and usengxtopfor Linux and Ubuntu OS.

This assumes you have Nginx installed and running.

If not, then you’re free to refer to myinstallation guide.

ngxtop-remote-addr

To Install ngxtop on CentOS/RHEL

First, you better install PIP (Python Package Management System).

Lets see some of the real-time metrics.

Usengxtopcommand to view the summary of request count, requested URI, the number of requests by status code.

Its very handy to see who is making a large number of requests to your Nginx server.

How about displaying requests only, which has a 404 status code?

There are multiple combinations you’re free to use to filter out access.log for meaningful data.

Next, you may want to try out Nginx Plus.

More on Nginx