network monitoring bash script