Thread
:
Find out how many connections are on an apache server
View Single Post
29-Nov-2007, 03:17 AM
#
2
(
permalink
)
Anilrgowda
Administrator
Posts
: 18,715
Join Date
: Jan 2006
Rep Power:
10
IM:
Re: Find out how many connections are on an apache server
this works for me:
$number_of_users = shell_exec('netstat -ant | grep ESTABLISHED | grep :80 | wc -l');
echo $number_of_users;
?>
------------------
Anilrgowda
View Public Profile
Send a private message to Anilrgowda
Find More Posts by Anilrgowda