ngxtop

Infrastructure

web server monitoring

SHOW HN2014

134points
33comments
#195of 2,272 in 2014
Top 9%of 2014 by points

How HN took it

CuriousMostly questions and neutral comments

3 positive, 8 neutral or asking, 1 mixed, 4 critical, out of 16 comments about the project. Thread score -0.04.

Idea: 2 for, 0 againstExecution: 0 for, 2 againstPerformance: 1 for, 1 againstDocs: 0 for, 1 against

The thread, comment by comment

Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.

positive neutral or mixed critical about another commenter or something else the maker

What HN said

What people liked

  • Useful, cool tool for watching Nginx.

    From 3 comments
    • This is nice, congrats! Would also like some performance metrics, or at least exec time per script
      jmngomes on HN
    • Very cool put it on pypi it will be useful with my blogs in aws
      dougcorrea on HN
    • I think this is a great idea. Very useful, thank you.
      jedicoffee on HN

Objections

  • Clears the screen on every run and hides crash backtraces; ncurses suggested.

    From 1 comment
    • Very cool tool. It seems to be clearing the screen every time it runs though which isn't great, especially when it crashes that hides the backtrace. Consider using ncurses? On a…
      scrollaway on HN
  • Python 2 only; does not run on Python 3.

    From 2 comments
    • Very cool tool. It seems to be clearing the screen every time it runs though which isn't great, especially when it crashes that hides the backtrace. Consider using ncurses? On a…
      scrollaway on HN
    • Seems like it was made with 2. Will not run on 3.
      sc00ty on HN
  • Log file option was broken and has since been fixed in master.

    From 2 comments
    • Doesn't seem to like to read the logs : ./ngxtop.py -l /opt/nginx/logs/access.log ## just pretends like the log is not being written to For some reason the access log file is…
      diziet on HN
    • There was a bug that was overwriting --access-log (-l) option. Should be fixed now in master
      bndr on HN
  • No resource consumption or performance figures; high CPU use on busy servers.

    From 2 comments
    • Am I the only one that bothered when tools like this do not give you some insight on resource consumption/limit? Even if it's just parsing logs via sqlite, I still want to see…
      korzun on HN
    • The performance impact really depend on your server and traffics. Currently with high traffic server it will take quite some amount of CPU if running for awhile, after 15-20 mins…
      lebinh on HN

Requests

  • Support Python 3.

    From 1 comment
    • Very cool tool. It seems to be clearing the screen every time it runs though which isn't great, especially when it crashes that hides the backtrace. Consider using ncurses? On a…
      scrollaway on HN
  • Publish on PyPI.

    From 2 comments
  • Average request serving time metrics.

    From 2 comments
    • This is nice, congrats! Would also like some performance metrics, or at least exec time per script
      jmngomes on HN
    • Yes, an average serving time per resource request would definitely be nice :)
      jmngomes on HN
  • Installation instructions.

    From 1 comment
  • Port to Lua and embed in Nginx.

    From 1 comment

Questions

  • Why is it not on PyPI?

    From 1 comment
  • Which Python version does it need?

    From 1 comment
    • Does it matter which version of python we use?
      ProAm on HN

Alternatives named

  • Apachetop

    From 1 comment
    • For those who didn't know about it, please check Apachetop: https://github.com/JeremyJones/Apachetop I use it for both Apache and Nginx.
      babuskov on HN
  • htop

    From 1 comment
    • The only other top I know of is htop http://hisham.hm/htop/ but I don't think that's what you're looking for
      bearlikelion on HN
  • GoAccess

    From 1 comment
  • Scout realtime dashboard

    From 1 comment
    • Fulfills the browser aspect of the question...this? http://scoutapp.github.io/scout_realtime/
      nullwagon on HN
  • Varnishtop

    From 1 comment
    • Nice. You can get similar for any HTTP interface via Varnish and Varnishtop, if you're interested, as well.
      cheald on HN

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/7442925)