#!/bin/bash

netstat -antopc | awk '{ if ($1 ~ /Active/ ) {print "-" } else if (( $7 ~ /safesquid/ ) && (($2 != 0) || ($3 != 0))  ) {print $0}  }'