linux system monitoring Bash script