TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: Top, but for Nginx

219 点作者 squiguy7将近 5 年前

11 条评论

maxmalysh将近 5 年前
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 未加载
gregoriol将近 5 年前
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 未加载
jrumbut将近 5 年前
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 未加载
randomstring将近 5 年前
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 未加载
eterps将近 5 年前
I wouldn&#x27;t mind a screenshot before installing it.
评论 #23467069 未加载
评论 #23466878 未加载
评论 #23467077 未加载
jimjag将近 5 年前
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__2将近 5 年前
&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 未加载
dheera将近 5 年前
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?
deft将近 5 年前
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.
madsmtm将近 5 年前
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>
superkuh将近 5 年前
&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 未加载