Posted on May 26, 2008 by nicolasMonitor http (80) connections every 30 seconds #!/bin/sh while true; do netstat -n |grep ‘:80’ |grep ‘EST’ | wc -l; sleep 30; done;