This is a very simple script to run and check how many connections each service (Apache,MySQL,SMTP (qmail)) has. You only have to fill this: {mysq_ladmin_pass} with your mysql administrator password. #!/bin/sh pass={mysq_ladmin_pass} echo “Apache Connections (port 80):” `netstat -an |grep :80 |wc -l` echo “MySQL Connections (port 3306):” `mysqladmin -uadmin -p”$pass” processlist |wc -l` echo ...