TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Top, but for Nginx

219 pointsby squiguy7almost 5 years ago

11 comments

maxmalyshalmost 5 years ago
Monitoring capabilities are missing from Nginx on purpose. They are not and will never be available for free because there is &quot;NGINX Plus&quot;.<p>This is why I recommend switching to HAProxy.
评论 #23468167 未加载
评论 #23468074 未加载
评论 #23468000 未加载
评论 #23471666 未加载
评论 #23468940 未加载
gregoriolalmost 5 years ago
Maybe not as lightweight, but GoAccess (<a href="https:&#x2F;&#x2F;github.com&#x2F;allinurl&#x2F;goaccess" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;allinurl&#x2F;goaccess</a>) does an awesome job at parsing the logs and displaying statistics, works for nginx and other webservers too
评论 #23467076 未加载
评论 #23472529 未加载
评论 #23473994 未加载
jrumbutalmost 5 years ago
This is the tool I&#x27;ve wanted (and half written 3-4 times) my whole career. From reading the github it looks lightweight, not a big infrastructure addition, and that it helps you figure out wtf is going on with the web server.<p>Regarding the branding, for me top is a real-time tool rather than a logging tool. I was picturing something that may have been more useful for older style Apache httpd installs where you have several virtual hosts on a server and you&#x27;d want to know who is hogging the resources or causing the problems.
评论 #23469855 未加载
评论 #23466995 未加载
评论 #23466986 未加载
评论 #23468958 未加载
randomstringalmost 5 years ago
My last company had something like that and included response time percentiles (50th, 90th, 95th, 99th) and we had these values graphed and displayed on a big screen in our office. Along with a ton of other performance stats: queries per second, various measures of system load, etc.<p>Averages can lie, especially when something like an empty query can take close to zero time compared to a non-trivial transaction. If some robot or other artifact of your site is generating a some amount of null queries that will make your average response time look better than it actually is. Percentiles, particularly on the tail of 90th or above, tell a better story of how well and consistently you&#x27;re responding to traffic under load.
评论 #23474013 未加载
eterpsalmost 5 years ago
I wouldn&#x27;t mind a screenshot before installing it.
评论 #23467069 未加载
评论 #23466878 未加载
评论 #23467077 未加载
jimjagalmost 5 years ago
Hmmm... looks like nothing more than a weblog analyzer. Someone correct me if I&#x27;m wrong. It&#x27;s not &quot;real time&quot; since it can only report on what the web-server has <i>done</i> not what it is <i>doing</i>. AFAIK, nginx has nothing like Apache httpd&#x27;s mod_status... at least, nothing open source.
评论 #23468810 未加载
评论 #23468192 未加载
评论 #23470263 未加载
评论 #23467874 未加载
hk__2almost 5 years ago
&gt; This tool is a rewrite of ngxtop to make it more easily installed and hopefully quicker.<p>Why make a whole new tool with limitations instead of improving the existing one?
评论 #23468180 未加载
评论 #23468265 未加载
dheeraalmost 5 years ago
Interesting, but I would have thought &quot;top&quot; for nginx would be a tool that shows you all the connections, paths, and resource usage live, like the &quot;top&quot; command. Is there a tool that does that?
deftalmost 5 years ago
How does this compare to goaccess? Similar tool that I&#x27;ve used briefly. One issue I had was how complicated it was, I&#x27;m assuming since this is nginx specific it&#x27;s simpler.
madsmtmalmost 5 years ago
I made something similar in Python [0], but for parsing the error_log directive. Just for the odd time you need to parse that.<p>[0] <a href="https:&#x2F;&#x2F;github.com&#x2F;madsmtm&#x2F;nginx-error-log" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;madsmtm&#x2F;nginx-error-log</a>
superkuhalmost 5 years ago
&gt;a rewrite of ngxtop to make it more easily installed and hopefully quicker.<p>What world does this guy live in that a program in Rust is easier to get running on any random machine than python script?
评论 #23472005 未加载
评论 #23472018 未加载
评论 #23483390 未加载