#!/bin/sh

while true; do
    date 2>&1 | tee -a "$1_akka.txt"
    sudo netstat -punta | grep 2550 2>&1 | tee -a "$1_akka.txt"
    echo 2>&1 | tee -a "$1_akka.txt"
    sleep 2
done
~        
