Monitor http (80) connections every 30 seconds

#!/bin/sh

while true; do netstat -n |grep ‘:80’ |grep ‘EST’ | wc -l; sleep 30; done;

Leave a Reply