Can enyone tell me a good ssh command or some easy way to see how many concurrent users are visitng sites on the server at any given time?
Chris
Can enyone tell me a good ssh command or some easy way to see how many concurrent users are visitng sites on the server at any given time?
Chris
A quick way to check is something like
netstat -an | grep :80 | sort
or
netstat -an | grep EST
The fisrt will show all HTTP connections sorted by IP regardless of state. The second, all established connections regardless of port number.
Thanks for the info bhd
This will retunr a list correct/ Is there a way to get the server to count them?
Hi,
netstat -an | grep -c :80 might be good for counting them.
Also, if you use "iptraf", you can see current traffic by port number, network interface etc.
yum install iptraf if you have CentOS 4 (and maybe others too)