Friday, May 15, 2015

How To Check Health Status Of A Linux System [Updated]?

Is Your System Health Status Tested/Checked Today... ????

#!----Here is a script to check the basic health status of a Linux system---#!
[[ Updated on 27th Jul 2020]]

This script has been tested to run successfully on RHEL 8/7/6, CentOS, SLES/SLED 15/12/11, Ubuntu 20/18/16 x86 and x86_64 bit architectures. It may work on other variants as well, however, not tested. These tests were run on virtual machines.

This is a small, light-weight script which makes use of native Linux utilities to get the required details and doesn't need much space. This script could be added as a cron job to regularly get system details triggered via an email as desired. The script has been successfully tested to work on most popular Linux distributions. One may alter or change the script to get the desired function or task done.