fr3nd / apache-top Goto Github PK
View Code? Open in Web Editor NEWapache-top provides real-time display of the active processes from a remote apache server. I’ts like the top linux command.
Home Page: http://www.fr3nd.net/projects/apache-top/
apache-top provides real-time display of the active processes from a remote apache server. I’ts like the top linux command.
Home Page: http://www.fr3nd.net/projects/apache-top/
Love the tool, thank you for building it, have one question though. I occasionally have an entry (or a couple) pop-up that has ?
for VHost and IP and ..reading..
for the request, what is that?
Add a new column showing the PTR record of the client's IP address.
Wich would be the lightest way of doing this avoiding to make a dns lookup each second?
Hi ,
I have tried run your script on Ubuntu lucid 64 and i get this error, i use python 2.6
Any ideas?
Thanks
root@sugermama:/usr/local/bin/apache-top# ./apache-top.py
Traceback (most recent call last):
File "./apache-top.py", line 26, in <module>
import curses
File "/usr/local/lib/python2.6/curses/__init__.py", line 15, in <module>
from _curses import *
ImportError: No module named _curses
root@sugermama:/usr/local/bin/apache-top# dpkg -L python2.6| grep curses
/usr/lib/python2.6/curses
/usr/lib/python2.6/curses/textpad.py
/usr/lib/python2.6/curses/has_key.py
/usr/lib/python2.6/curses/panel.py
/usr/lib/python2.6/curses/__init__.py
/usr/lib/python2.6/curses/ascii.py
/usr/lib/python2.6/curses/wrapper.py
/usr/lib/python2.6/lib-dynload/_curses_panel.so
/usr/lib/python2.6/lib-dynload/_curses.so
I stumbled across your script while looking for a solution to view real time requests per second via mod_status.
The problem is that mod_status shows average request per second for uptime, not for last second.
I edited your script so it will calculate the delta between current number of access and previous number of access, and it gives close enough estimation of true requests per second.
Not really an issue, just an idea for another "feature".
Thanks for the script,
Mike
Add user:password htaccess auth support for sever-status page for accessing protected page.
Thank you.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.