This commit is contained in:
midoks
2022-10-06 15:32:30 +08:00
parent 7fbe421b0c
commit d18f16a2b8
12 changed files with 48 additions and 0 deletions
+4
View File
@@ -61,6 +61,10 @@ if [ "${cpuCore}" != "1" ] && [ "${MEM_INFO}" != "0" ];then
else
cpuCore="1"
fi
if [ "$cpuCore" -gt "1" ];then
cpuCore=`echo "$cpuCore" | awk '{printf("%.f",($1)*0.8)}'`
fi
# ----- cpu end ------
if [ ! -d $serverPath/php/71 ];then