The following is a bash shell script that looks for system updates and install them if available, and checks the systems health on disk, memory and CPU usage, and device temperature monitoring.
1. Create the script using nano or a text-editor of your choice.
2. Save the script and make it executable.
3. Run the script.
4. Concatenate the contents of the scripts results.
5. Add the script as a cronjob to execute automatically every hour.