Giter Site home page Giter Site logo

swipswaps / apache-top Goto Github PK

View Code? Open in Web Editor NEW

This project forked from igloonet/apache-top

0.0 1.0 0.0 19 KB

apache-top provides real-time display of the active processes from a remote apache server. I’ts like the top linux command.

Python 100.00%

apache-top's Introduction

apache-top

apache-top provides real-time display of the active processes from a remote apache server. I’ts like the top linux command.

Status

igloonet/apachetop repository is attempt to create semi-actively maintained fork of apache-top as original repository was archived by apache-top author fr3nd.

Features

  • The active apache processes with their associated PID, the status, the seconds being active, the CPU usage, the asociated VirtualHost, the accessing ip and the request (POST or GET, the file being accessed and the used protocol)
  • The server uptime and the last time it was restarted
  • The CPU usage
  • Requests by second, Kb by second and the average Kb by request
  • Number of active and inactive processes
  • A graph with the inactive and active processes and their status

Requirements

  • python 2.4
  • python-curses package
  • Apache 2.0 webserver with mod_status and the ExtendedStatus directive activated. You will also need to be allowed to access from your ip address.

Examples

To see statistics from the webserver 192.168.0.1:

apache-top -u http://192.168.0.1/server-status

If for any reason we don’t have direct access to 80 port, a tunel can be created using ssh:

ssh -L 8080:localhost:80 192.168.0.1

And we run this command in other terminal:

apache-top -u http://localhost:8080/server-status

Links

apache-top's People

Contributors

altmas5 avatar fr3nd avatar kepi avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.