Skip to content

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

Notifications You must be signed in to change notification settings

gustcol/apache-top

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Description

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

With apache-top you can get:

  • 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

Requeriments

  • python 2.4
  • 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 createdusing 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

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published