Friday, May 15, 2015

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

Get Your System Health Status Tested/Checked Today... ????#!----Here is a script to check the basic health status of a Linux system---#!

[[ Updated Recently On 30-Dec-2018 ]]This script has been tested to run successfully on RHEL 8(beta)7/6/5.x, Cent OS, SLES/SLED 12/11, Ubuntu 18/6/14 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.

Details of the script:Name Of The Script: health-check.shBuild To Run On: RHEL 8/7/6/5.x /SLES 12/11 , Cent OS x86/x86_64 architecture.Who Can Run This Script: Root User Or sudo user.Depends On: "sysstat" package & Other Native Commands.Output: This Script would dump the details on the console.

Now, one could download and run the script to get the basic health check of a Linux system. Use the link provided below to download the script. Change the file permissions to executable if required. You could run the below command to turn on the execute bit for root user:# chmod u+x health-check.shIf you are unable to download and move this script file to your Linux system then you may need to copy the complete contents of the file as it is and paste into your file, set execute bit and run it later.All the best!!!If someone is interested in automating this 'health-check.sh' script file then please visit my recent blog post:https://www.simplylinuxfaq.com/2019/01/lets-automate-system-health-check-in-linux.html

Woah! I'm really enjoying the template/theme of this blog.It's simple, yet effective. A lot of times it's very difficult to get that "perfect balance" between superb usability and appearance. I must say you have done a great job with this. In addition, the blog loads very quick for me on Firefox.

PageViews

About Me.

This is just about me, my experience, my interest, my passion.... I am from Mysuru which is so popularly known as Cultural Capital of Karnataka(India). I started my carrier as a technical support person, my interest grew on Linux, started working on Linux operating system, currently working as Infrastructure Lead in a private company. Although I got enough experience in this Linux world I still feel there is some empty space which needs to be filled up every day, so, every day there is a new learning, that is what we say, learning is a never ending path. We are all here to share/learn/spread the knowledge. There is much more to learn/gain in this open-source world. Happy Learning.....