Friday, October 2, 2020

sleepy netstat

sleepy joe. sleepy netstat query

#!/bin/bash
for i in {1..10}
do
   netstat -an |wc -l >> bleh
   cat bleh
   echo "sleeping for 1 minute"
   sleep 60s
done

No comments: