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: Real-time, top-like metrics for Nginx

134 pointsby lebinhabout 11 years ago

12 comments

babuskovabout 11 years ago
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.
yeukhonabout 11 years ago
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 未加载
kureikainabout 11 years ago
How about porting it to LUA and embed directly in nginx?
scrollawayabout 11 years ago
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 未加载
chealdabout 11 years ago
Nice. You can get similar for any HTTP interface via Varnish and Varnishtop, if you&#x27;re interested, as well.
ProAmabout 11 years ago
Does it matter which version of python we use?
评论 #7445059 未加载
KevinBongartabout 11 years ago
Looks cool!<p>Installation instructions would be a nice plus
评论 #7443591 未加载
jmngomesabout 11 years ago
This is nice, congrats! Would also like some performance metrics, or at least exec time per script
评论 #7443581 未加载
dougcorreaabout 11 years ago
Very cool put it on pypi it will be useful with my blogs in aws
jedicoffeeabout 11 years ago
I think this is a great idea. Very useful, thank you.
sebslomskiabout 11 years ago
Cool! Why is this not on pypi?
评论 #7443212 未加载
korzunabout 11 years ago
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 未加载