On Solaris servers I’ve missed the ‘watch’ command. Mostly when you have filesystems filling up fast. The ‘watch’ command nowadays comes bundled with most distros but not on those proprietary systems. I had to find a way of getting it done on Solaris, AIX or any other *nix family. Here’s what I came up with :
while true;do df -h;sleep 5;tput clear;done
It runs the ‘df’, sleeps 5 seconds, clears the screen and keeps running. Wasn’t that hard to catch.