shell script for cpu monitor