Automating sar and iptraf