GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   How Many Apache requests? Free Script to check (https://gfy.com/showthread.php?t=185376)

xxxoutsourcing 10-12-2003 09:06 PM

How Many Apache requests? Free Script to check
 
How many apache requests do you have on your server?

make a file called : oozon

#!/bin/bash
#
#
echo `ps auxw | grep nobody | grep httpd | wc` | awk '{print " " $1 " apache requests"}'

drop it in
/usr/local/bin/

and every time you ssh to your machine as a user type
oozon and find out
You might have to change the grrep httpd or nobody depending on what apache runs under.

:BangBang:

kad 10-12-2003 09:10 PM

or you could enable server-status which gives heaps more data.

Juicy D. Links 10-12-2003 09:12 PM

http://pix.segfault.cz/gfy/owned/owned_balls.jpg

xxxoutsourcing 10-12-2003 09:13 PM

Yea you could do that, but a little fun free script that uses no resouces never hurt anyone...

:Graucho


All times are GMT -7. The time now is 12:36 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123