Monitoring, at its most basic level

Here’s a simple script I wrote to cycle through several monitoring programs on a Linux machine. Things like IPTraf, top, Ethereal or tcpdump for example.

#! /bin/bash
screen=1
while :
do
    echo -e 'e[12;'$screen']'
    screen=`expr $screen + 1`
    [ $screen -ge 4 ] && scree=1
    sleep 10
done