1 Star 0 Fork 65

anson / MLSBS

forked from MickeyBeeHome / MLSBS
暂停
 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
config 876 Bytes
一键复制 编辑 原始数据 按行查看 历史
zczheng 提交于 2016-05-09 13:50 . fix mysql
#! Encoding UTF-8
#配置参数
InstallPath="/usr/local"
LibPath="$ScriptPath/mylib"
FunctionPath="$ScriptPath/function"
TemplatePath="$ScriptPath/Template"
MyCronBashPath="$InstallPath/mybash"
MyBashLogPath="$LogPath/mybash"
Python2Path="$ScriptPath/py2script"
DownloadTmp="/tmp"
#日志
LogPath="/var/log"
InfoLog=$LogPath/mlsbs_err$(date +%Y%m%d).log
ErrLog=$LogPath/mlsbs_info$(date +%Y%m%d).log
#check system parameter about cpu's core ,ram ,other
#
#收集系统的一些基础参数给其他函数使用
#
SysName=""
SysCount=""
FileMax=$(cat /proc/sys/fs/file-max)
OSlimit=$(ulimit -n)
egrep -i "centos" /etc/issue && SysName='centos'
egrep -i "debian" /etc/issue && SysName='debian'
egrep -i "ubuntu" /etc/issue && SysName='ubuntu'
SysVer=$(uname -r|cut -d. -f1-2)
SysBit='32' && [ $(getconf WORD_BIT) == '32' ] && [ $(getconf LONG_BIT) == '64' ] && SysBit='64'
Shell
1
https://gitee.com/ymcode/MLSBS.git
git@gitee.com:ymcode/MLSBS.git
ymcode
MLSBS
MLSBS
master

搜索帮助