Bash script for checking system health