Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
#!/bin/bash
TMP=/tmp/chksys.out
date
echo "=========================================================================== "
echo -n "System Hostname: " ; /bin/hostname
echo "=========================================================================== "
echo "System Uptime: " ; /usr/bin/uptime
echo "=========================================================================== "
echo "Operating System Version: " ; cat /etc/redhat-release ; cat /proc/version
echo "=========================================================================== "
echo "Disk Subsystem Status: " ; /bin/df -h
echo "=========================================================================== "
echo "Mail Queue Status: " ; /usr/bin/mailq -OmaxQueueRunSize=1 | grep Total
echo " Processes: " ; ps -ef | grep -c sendm
echo "=========================================================================== "
echo "System Memory Status: "
grep MemFree /proc/meminfo
grep MemTotal /proc/meminfo
echo "=========================================================================== "
echo "Checking System for Rootkits: "
/opt/chkrootkit-0.47/chkrootkit > $TMP
echo -n "INFECTED: " ; grep -c "INFECTED" $TMP
echo -n "Not infected: " ; grep -c "not infected" $TMP
echo -n "Not tested: " ; grep -c "not tested" $TMP
echo -n "Not found: " ; grep -c "not found" $TMP
echo -n "Vulnerable but not used: " ; grep -c "Vulnerable" $TMP
echo "=========================================================================== "
echo "Checking for available updates: " ; /usr/bin/yum -y update
echo "=========================================================================== "