#!/bin/bash OUT=`netstat -as | grep "OutOctets" | awk '{ print $2 }'` IN=`netstat -as | grep "InOctets" | awk '{ print $2 }'` TOTAL=`expr $OUT + $IN` echo "" echo " " echo " " echo " " echo " " echo " " echo " Networking" echo ""