Skip to content

chluxossteam/systemcheck

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

# systemcheck
system health check for linux

- config file  : systemcheck.conf 
- execute file : systemcheck.sh 

Support OS 
- RedHat Enterprise(CentOS) 6,7 
- Suse Linux 12.x 
- Oracle Linux 6,7 


Requirement
- sysstat
- lsb_release
- net-tools


Installation 
1. clone this proeject to your linux system 
2. change mode to execute of systemcheck.sh
  localhost ]# chmod o+x systemcheck.sh
3. change Log output directory and filename at systemcheck.conf
4. execute systemcheck script 
 localhost ]#./systemcheck.sh
 

Execution Parameter
Usage   : check_sys.sh [--save {filename}  |  -p --print] "
Options : -s, --save filename will save log to filenam define from config"
          -p, --print will print log on screen"
          -h, --help show this help screen"




Config Parameter 
\# OUPUT_DIR is define for directory of logfile.
\# default value is /tmp directory, you can chack to another directory if you need.
\# CAUTION : You should put full directory path with last slash(/)
\# ex)  /tmp/ , /var/log/system/
OUTPUT_DIR=/tmp/

\# OUTPUT_FILE is basename of result file.
\# default value is value of hostname command and current date format with Y-m-d
OUTPUT_FILE=`hostname`_$(date '+%Y-%m-%d').log


About

Chlux System check script

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages