sunucunuzun işletim sistemi linüx ise..
netstat -np | grep SYN_RECV
kodu ile olabilir veya
tcpdump -npi eth0 port domain
----------------------------
netstat -a -n|grep -E "^(tcp)"| cut -c 68-|sort|uniq -c|sort -n
--------------------------------------------------------------
ps -aux | grep httpd | wc -l
---------------------------------
ps -aux | grep mysqld | wc -l
kodları ile öğrenebilirsin.