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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Show HN: Real-time, top-like metrics for Nginx

134 点作者 lebinh大约 11 年前

12 条评论

babuskov大约 11 年前
For those who didn&#x27;t know about it, please check Apachetop:<p><a href="https://github.com/JeremyJones/Apachetop" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;JeremyJones&#x2F;Apachetop</a><p>I use it for both Apache and Nginx.
yeukhon大约 11 年前
Side question: I saw a project similar to this, but display <i>top</i> in your terminal&#x2F;browser with a beautiful visual dashboard. I remember seeing it here on HN recently but I can&#x27;t find it. I mention that because it has a non-ascii visual component. I am interested in looking at the two source codes and see if I could make pretty dashboard out of it...<p><i>EDIT</i>:<p>Thanks for finding the, HNers. I also think it is possible to look at IPythoNoteBook integration.
评论 #7443299 未加载
评论 #7443273 未加载
评论 #7443331 未加载
评论 #7443281 未加载
kureikain大约 11 年前
How about porting it to LUA and embed directly in nginx?
scrollaway大约 11 年前
Very cool tool. It seems to be clearing the screen every time it runs though which isn&#x27;t great, especially when it crashes that hides the backtrace. Consider using ncurses?<p>On a different note... developers, please use Python 3. Several Linux distributions are now using Py3 as their main python and those scripts with an &quot;env python&quot; hashbang will not work.<p>Porting your codebase to be python 2+3 compatible is dead simple, and most of the time it is just a matter of using print(&quot;foo&quot;) instead of print &quot;foo&quot;. So please be considerate.
评论 #7443730 未加载
评论 #7443946 未加载
cheald大约 11 年前
Nice. You can get similar for any HTTP interface via Varnish and Varnishtop, if you&#x27;re interested, as well.
ProAm大约 11 年前
Does it matter which version of python we use?
评论 #7445059 未加载
KevinBongart大约 11 年前
Looks cool!<p>Installation instructions would be a nice plus
评论 #7443591 未加载
jmngomes大约 11 年前
This is nice, congrats! Would also like some performance metrics, or at least exec time per script
评论 #7443581 未加载
dougcorrea大约 11 年前
Very cool put it on pypi it will be useful with my blogs in aws
jedicoffee大约 11 年前
I think this is a great idea. Very useful, thank you.
sebslomski大约 11 年前
Cool! Why is this not on pypi?
评论 #7443212 未加载
korzun大约 11 年前
Am I the only one that bothered when tools like this do not give you some insight on resource consumption&#x2F;limit?<p>Even if it&#x27;s just parsing logs via sqlite, I still want to see the limitations and X per Y usage metrics to see if it can handle monitoring high traffic domain without impacting performance.
评论 #7443488 未加载
评论 #7443228 未加载
评论 #7450100 未加载