[{"data":1,"prerenderedAt":337},["ShallowReactive",2],{"project-7442925":3},{"id":4,"name":5,"line":6,"line_source":7,"title":8,"url":9,"domain":10,"maker":11,"posted_at":12,"year":13,"points":14,"comments":15,"rank_in_year":16,"shown_in_year":17,"top":18,"tier":19,"category":20,"subcategory":21,"format":22,"keywords":23,"reception":29,"sentiment":30,"stance_mix":31,"scored_comments":36,"aspects":37,"strip":44,"post_text":46,"what":47,"said":81,"maker_in_thread":208,"shape":217,"grid":221,"attempts":297,"same_week":298,"maker_shows":34,"maker_hidden":329,"reader_version":330,"card":331},"7442925","ngxtop","Real-time, top-like metrics for Nginx","title","Show HN: Real-time, top-like metrics for Nginx","https:\u002F\u002Fgithub.com\u002Flebinh\u002Fngxtop","github.com","lebinh",1395416570,2014,134,33,195,2272,9,"notable","infrastructure","web server monitoring","cli",[24,25,26,27,28],"nginx","access log","real-time metrics","top","server monitoring","curious",-0.042,{"positive":32,"neutral":33,"mixed":34,"critical":35},3,8,1,4,16,{"idea":38,"execution":41,"docs":42,"performance":43},{"positive":39,"critical":40},2,0,{"positive":40,"critical":39},{"positive":40,"critical":34},{"positive":34,"critical":34},[32,40,40,40,40,40,40,32,32,40,40,40,32,32,34,34,40,34,32,32,40,45,45,45,32,40,32,34,40,40,40,40,40],5,null,{"problem":48,"audience":54,"pricing":46,"motivation":46,"time_to_build":46,"stack":65,"openness":78,"stage":79,"team_size":80},{"value":49,"source":50,"evidence":51},"Shows live Nginx traffic metrics in a top-like view.","maker",[52],{"id":53},"post",{"value":55,"source":56,"evidence":57},"Nginx server operators.","inferred",[58,61],{"id":59,"by":11,"text":60},"7443730","Unfortunately most of the servers I'm working with are still on python2 by default. The latest Ubuntu LTS, 12.04, only has python2 by default so python2 is still my priority. But…",{"id":62,"by":63,"text":64},"7446264","dougcorrea","Very cool put it on pypi it will be useful with my blogs in aws",[66],{"value":67,"source":68,"evidence":69},"Python","commenter",[70,74],{"id":71,"by":72,"text":73},"7443641","scrollaway","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…",{"id":75,"by":76,"text":77},"7445059","sc00ty","Seems like it was made with 2. Will not run on 3.","open_source","beta","unknown",{"praise":82,"objections":95,"requests":126,"questions":160,"alternatives":172},[83],{"value":84,"source":68,"evidence":85},"Useful, cool tool for watching Nginx.",[86,90,91],{"id":87,"by":88,"text":89},"7443556","jmngomes","This is nice, congrats! Would also like some performance metrics, or at least exec time per script",{"id":62,"by":63,"text":64},{"id":92,"by":93,"text":94},"7449009","jedicoffee","I think this is a great idea. Very useful, thank you.",[96,100,105,116],{"value":97,"source":68,"evidence":98},"Clears the screen on every run and hides crash backtraces; ncurses suggested.",[99],{"id":71,"by":72,"text":73},{"value":101,"source":68,"evidence":102},"Python 2 only; does not run on Python 3.",[103,104],{"id":71,"by":72,"text":73},{"id":75,"by":76,"text":77},{"value":106,"source":68,"evidence":107},"Log file option was broken and has since been fixed in master.",[108,112],{"id":109,"by":110,"text":111},"7443807","diziet","Doesn't seem to like to read the logs : .\u002Fngxtop.py -l \u002Fopt\u002Fnginx\u002Flogs\u002Faccess.log ## just pretends like the log is not being written to For some reason the access log file is…",{"id":113,"by":114,"text":115},"7444175","bndr","There was a bug that was overwriting --access-log (-l) option. Should be fixed now in master",{"value":117,"source":68,"evidence":118},"No resource consumption or performance figures; high CPU use on busy servers.",[119,123],{"id":120,"by":121,"text":122},"7443191","korzun","Am I the only one that bothered when tools like this do not give you some insight on resource consumption\u002Flimit? Even if it's just parsing logs via sqlite, I still want to see…",{"id":124,"by":11,"text":125},"7443228","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…",[127,131,139,146,153],{"value":128,"source":68,"evidence":129},"Support Python 3.",[130],{"id":71,"by":72,"text":73},{"value":132,"source":68,"evidence":133},"Publish on PyPI.",[134,135],{"id":62,"by":63,"text":64},{"id":136,"by":137,"text":138},"7443150","sebslomski","Cool! Why is this not on pypi?",{"value":140,"source":68,"evidence":141},"Average request serving time metrics.",[142,143],{"id":87,"by":88,"text":89},{"id":144,"by":88,"text":145},"7443602","Yes, an average serving time per resource request would definitely be nice :)",{"value":147,"source":68,"evidence":148},"Installation instructions.",[149],{"id":150,"by":151,"text":152},"7443491","KevinBongart","Looks cool! Installation instructions would be a nice plus",{"value":154,"source":68,"evidence":155},"Port to Lua and embed in Nginx.",[156],{"id":157,"by":158,"text":159},"7444013","kureikain","How about porting it to LUA and embed directly in nginx?",[161,165],{"value":162,"source":68,"evidence":163},"Why is it not on PyPI?",[164],{"id":136,"by":137,"text":138},{"value":166,"source":68,"evidence":167},"Which Python version does it need?",[168],{"id":169,"by":170,"text":171},"7444271","ProAm","Does it matter which version of python we use?",[173,180,187,194,201],{"value":174,"source":68,"evidence":175},"Apachetop",[176],{"id":177,"by":178,"text":179},"7446236","babuskov","For those who didn't know about it, please check Apachetop: https:\u002F\u002Fgithub.com\u002FJeremyJones\u002FApachetop I use it for both Apache and Nginx.",{"value":181,"source":68,"evidence":182},"htop",[183],{"id":184,"by":185,"text":186},"7443273","bearlikelion","The only other top I know of is htop http:\u002F\u002Fhisham.hm\u002Fhtop\u002F but I don't think that's what you're looking for",{"value":188,"source":68,"evidence":189},"GoAccess",[190],{"id":191,"by":192,"text":193},"7443331","brickcap","could it be go access? http:\u002F\u002Fgoaccess.prosoftcorp.com\u002F",{"value":195,"source":68,"evidence":196},"Scout realtime dashboard",[197],{"id":198,"by":199,"text":200},"7443299","nullwagon","Fulfills the browser aspect of the question...this? http:\u002F\u002Fscoutapp.github.io\u002Fscout_realtime\u002F",{"value":202,"source":68,"evidence":203},"Varnishtop",[204],{"id":205,"by":206,"text":207},"7445148","cheald","Nice. You can get similar for any HTTP interface via Varnish and Varnishtop, if you're interested, as well.",{"comments":45,"answered":32,"key":209},[210,211,214],{"id":59,"text":60},{"id":212,"text":213},"7443591","Thanks, I'll definitely add that, maybe put this on pypi asap. For now you can clone the repo and then run pip install -r requirements.txt to install required dependencies.",{"id":215,"text":216},"7443581","If what you mean by exec time is request_time, i.e., serving time of a request, then it's pretty close on my agenda as long as you have it in your access log :)",{"commenters":218,"max_depth":35,"maker_replies":45,"first_comment_mins":219,"lifespan_hours":220},27,39,26,[222,224,228,229,232,233,235,236,238,240,242,245,249,250,252,254,257,259,260,261,264,266,268,270,271,274,277,280,283,284,287,291,294],[177,40,32,223,178,40],"project\u002Fneutral\u002Fnone",[225,34,40,226,227,40],"7443261","other\u002Fneutral\u002Fnone","yeukhon",[184,34,40,226,185,40],[230,34,40,226,231,40],"7443281","dewey",[198,34,40,226,199,40],[234,34,40,226,227,40],"7443388",[191,34,40,226,192,40],[157,39,32,237,158,40],"project\u002Fneutral\u002Fidea",[71,32,32,239,72,40],"project\u002Fmixed\u002Fexecution",[59,32,40,241,11,34],"maker\u002Fneutral\u002Fexecution",[243,32,40,226,244,40],"7445390","mappu",[246,32,40,247,248,40],"7443946","commenter\u002Fneutral\u002Fnone","stefantalpalaru",[205,35,32,237,206,40],[169,45,32,251,170,40],"project\u002Fneutral\u002Fexecution",[75,45,34,253,76,40],"project\u002Fcritical\u002Fexecution",[150,255,34,256,151,40],6,"project\u002Fcritical\u002Fdocs",[212,255,40,258,11,34],"maker\u002Fneutral\u002Fdocs",[109,255,34,253,110,40],[113,255,32,241,114,40],[87,262,32,263,88,40],7,"project\u002Fneutral\u002Fperformance",[215,262,40,265,11,34],"maker\u002Fneutral\u002Fperformance",[144,262,45,267,88,40],"project\u002Fpositive\u002Fperformance",[62,33,45,269,63,40],"project\u002Fpositive\u002Fidea",[92,18,45,269,93,40],[136,272,32,273,137,40],10,"project\u002Fneutral\u002Fdocs",[275,272,40,276,11,34],"7443212","maker\u002Fneutral\u002Fnone",[278,272,32,258,279,40],"7449074","HeyImAlex",[120,281,34,282,121,40],11,"project\u002Fcritical\u002Fperformance",[124,281,40,265,11,34],[285,281,40,247,286,40],"7443488","evilduck",[288,281,40,289,290,40],"7444439","commenter\u002Fneutral\u002Fperformance","jamra",[292,281,40,247,293,40],"7448260","w-ll",[295,281,40,247,296,40],"7450100","clubhi",[],[299,304,309,314,319,324],{"id":300,"name":301,"points":302,"category":303},"7454242","Bread Box",199,"web_saas",{"id":305,"name":306,"points":307,"category":308},"7477095","Coding Interview Practice",172,"learning_science",{"id":310,"name":311,"points":312,"category":313},"7468328","ShareDrop",165,"dev_tools",{"id":315,"name":316,"points":317,"category":318},"7435569","2048 Tetris",160,"games",{"id":320,"name":321,"points":322,"category":323},"7472982","Mogo Chat",140,"productivity",{"id":325,"name":326,"points":327,"category":328},"7461343","Bitcoin derivatives",95,"finance_crypto",false,"v2",{"id":332,"name":5,"line":6,"ai":329,"cat":20,"year":13,"points":14,"comments":15,"rec":29,"s":333,"top":18,"kw":334,"maker":11,"domain":10,"tier":19,"attempts":40,"strip":335,"url":9,"mix":336,"praise":84,"objection":97,"sub":21},7442925,-0.04,[24,25,26,27,28],"300000033000331101330555303100000",[32,33,34,35],1794036516871]