Side question: I saw a project similar to this, but display
top in your terminal/browser with a beautiful visual dashboard. I remember seeing it here on HN recently but I can'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...
EDIT:
Thanks for finding the, HNers. I also think it is possible to look at IPythoNoteBook integration.
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 different note... developers, please use Python 3. Several Linux distributions are now using Py3 as their main python and those scripts with an "env python" hashbang will not work.
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("foo") instead of print "foo". So please be considerate.
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 in this case, a port should be trivia so I'll look into python3 as soon as possible.
Yes, ncurses would be much better but I haven't had time for it yet. Clearing screen is simple enough and work pretty well for me so far so here we are :)
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 :)
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 the limitations and X per Y usage metrics to see if it can handle monitoring high traffic domain without impacting performance.
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 or so, but I'm working on reduce that. So now it mostly useful to know what's going on with your nginx at the moment but not over a long period.
You aren't the only one. I often am bothered by the limitations of my own project. I rarely need outsiders to point out the major issues because I know of so many myself. Some people consider it a talent to blurt out obvious observations though.
babuskov|12 years ago
https://github.com/JeremyJones/Apachetop
I use it for both Apache and Nginx.
yeukhon|12 years ago
EDIT:
Thanks for finding the, HNers. I also think it is possible to look at IPythoNoteBook integration.
nullwagon|12 years ago
http://scoutapp.github.io/scout_realtime/
bearlikelion|12 years ago
brickcap|12 years ago
http://goaccess.prosoftcorp.com/
dewey|12 years ago
kureikain|12 years ago
scrollaway|12 years ago
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 "env python" hashbang will not work.
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("foo") instead of print "foo". So please be considerate.
lebinh|12 years ago
Yes, ncurses would be much better but I haven't had time for it yet. Clearing screen is simple enough and work pretty well for me so far so here we are :)
stefantalpalaru|12 years ago
Only Arch Linux does it.
cheald|12 years ago
ProAm|12 years ago
sc00ty|12 years ago
KevinBongart|12 years ago
Installation instructions would be a nice plus
lebinh|12 years ago
pip install -r requirements.txt
to install required dependencies.
jmngomes|12 years ago
lebinh|12 years ago
dougcorrea|12 years ago
jedicoffee|12 years ago
sebslomski|12 years ago
lebinh|12 years ago
korzun|12 years ago
Even if it'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.
evilduck|12 years ago
lebinh|12 years ago
clubhi|12 years ago