This commit is contained in:
Valeria Fadeeva 2024-01-06 21:29:06 +05:00
parent d547f80cd2
commit 4a374820b1
16 changed files with 32 additions and 32 deletions

View File

@ -10,8 +10,8 @@ sockets=$(( $virt_cpu / 2 ))
mem=$(expr $(cat /proc/meminfo | grep "MemFree" | awk '{print $2}') / 1024 - $(( 2 * 1024 )) )
if [[ $mem -lt 6144 ]]; then
mem=6144
if [[ $mem -lt 4096 ]]; then
mem=4096
fi
if [[ $mem -gt 8192 ]]; then

View File

@ -10,8 +10,8 @@ sockets=$(( $virt_cpu / 2 ))
mem=$(expr $(cat /proc/meminfo | grep "MemFree" | awk '{print $2}') / 1024 - $(( 2 * 1024 )) )
if [[ $mem -lt 6144 ]]; then
mem=6144
if [[ $mem -lt 4096 ]]; then
mem=4096
fi
if [[ $mem -gt 8192 ]]; then

View File

@ -10,8 +10,8 @@ sockets=$(( $virt_cpu / 2 ))
mem=$(expr $(cat /proc/meminfo | grep "MemFree" | awk '{print $2}') / 1024 - $(( 2 * 1024 )) )
if [[ $mem -lt 6144 ]]; then
mem=6144
if [[ $mem -lt 4096 ]]; then
mem=4096
fi
if [[ $mem -gt 8192 ]]; then

View File

@ -10,8 +10,8 @@ sockets=$(( $virt_cpu / 2 ))
mem=$(expr $(cat /proc/meminfo | grep "MemFree" | awk '{print $2}') / 1024 - $(( 2 * 1024 )) )
if [[ $mem -lt 6144 ]]; then
mem=6144
if [[ $mem -lt 4096 ]]; then
mem=4096
fi
if [[ $mem -gt 8192 ]]; then

View File

@ -10,8 +10,8 @@ sockets=$(( $virt_cpu / 2 ))
mem=$(expr $(cat /proc/meminfo | grep "MemFree" | awk '{print $2}') / 1024 - $(( 2 * 1024 )) )
if [[ $mem -lt 6144 ]]; then
mem=6144
if [[ $mem -lt 4096 ]]; then
mem=4096
fi
if [[ $mem -gt 8192 ]]; then

View File

@ -10,8 +10,8 @@ sockets=$(( $virt_cpu / 2 ))
mem=$(expr $(cat /proc/meminfo | grep "MemFree" | awk '{print $2}') / 1024 - $(( 2 * 1024 )) )
if [[ $mem -lt 6144 ]]; then
mem=6144
if [[ $mem -lt 4096 ]]; then
mem=4096
fi
if [[ $mem -gt 8192 ]]; then

View File

@ -10,8 +10,8 @@ sockets=$(( $virt_cpu / 2 ))
mem=$(expr $(cat /proc/meminfo | grep "MemFree" | awk '{print $2}') / 1024 - $(( 2 * 1024 )) )
if [[ $mem -lt 6144 ]]; then
mem=6144
if [[ $mem -lt 4096 ]]; then
mem=4096
fi
if [[ $mem -gt 8192 ]]; then

View File

@ -10,8 +10,8 @@ sockets=$(( $virt_cpu / 2 ))
mem=$(expr $(cat /proc/meminfo | grep "MemFree" | awk '{print $2}') / 1024 - $(( 2 * 1024 )) )
if [[ $mem -lt 6144 ]]; then
mem=6144
if [[ $mem -lt 4096 ]]; then
mem=4096
fi
if [[ $mem -gt 8192 ]]; then

View File

@ -10,8 +10,8 @@ sockets=$(( $virt_cpu / 2 ))
mem=$(expr $(cat /proc/meminfo | grep "MemFree" | awk '{print $2}') / 1024 - $(( 2 * 1024 )) )
if [[ $mem -lt 6144 ]]; then
mem=6144
if [[ $mem -lt 4096 ]]; then
mem=4096
fi
if [[ $mem -gt 8192 ]]; then

View File

@ -10,8 +10,8 @@ sockets=$(( $virt_cpu / 2 ))
mem=$(expr $(cat /proc/meminfo | grep "MemFree" | awk '{print $2}') / 1024 - $(( 2 * 1024 )) )
if [[ $mem -lt 6144 ]]; then
mem=6144
if [[ $mem -lt 4096 ]]; then
mem=4096
fi
if [[ $mem -gt 8192 ]]; then

View File

@ -10,8 +10,8 @@ sockets=$(( $virt_cpu / 2 ))
mem=$(expr $(cat /proc/meminfo | grep "MemFree" | awk '{print $2}') / 1024 - $(( 2 * 1024 )) )
if [[ $mem -lt 6144 ]]; then
mem=6144
if [[ $mem -lt 4096 ]]; then
mem=4096
fi
if [[ $mem -gt 8192 ]]; then

View File

@ -10,8 +10,8 @@ sockets=$(( $virt_cpu / 2 ))
mem=$(expr $(cat /proc/meminfo | grep "MemFree" | awk '{print $2}') / 1024 - $(( 2 * 1024 )) )
if [[ $mem -lt 6144 ]]; then
mem=6144
if [[ $mem -lt 4096 ]]; then
mem=4096
fi
if [[ $mem -gt 8192 ]]; then

View File

@ -10,8 +10,8 @@ sockets=$(( $virt_cpu / 2 ))
mem=$(expr $(cat /proc/meminfo | grep "MemFree" | awk '{print $2}') / 1024 - $(( 2 * 1024 )) )
if [[ $mem -lt 6144 ]]; then
mem=6144
if [[ $mem -lt 4096 ]]; then
mem=4096
fi
if [[ $mem -gt 8192 ]]; then

View File

@ -10,8 +10,8 @@ sockets=$(( $virt_cpu / 2 ))
mem=$(expr $(cat /proc/meminfo | grep "MemFree" | awk '{print $2}') / 1024 - $(( 2 * 1024 )) )
if [[ $mem -lt 6144 ]]; then
mem=6144
if [[ $mem -lt 4096 ]]; then
mem=4096
fi
if [[ $mem -gt 8192 ]]; then

View File

@ -10,8 +10,8 @@ sockets=$(( $virt_cpu / 2 ))
mem=$(expr $(cat /proc/meminfo | grep "MemFree" | awk '{print $2}') / 1024 - $(( 2 * 1024 )) )
if [[ $mem -lt 6144 ]]; then
mem=6144
if [[ $mem -lt 4096 ]]; then
mem=4096
fi
if [[ $mem -gt 8192 ]]; then

View File

@ -10,8 +10,8 @@ sockets=$(( $virt_cpu / 2 ))
mem=$(expr $(cat /proc/meminfo | grep "MemFree" | awk '{print $2}') / 1024 - $(( 2 * 1024 )) )
if [[ $mem -lt 6144 ]]; then
mem=6144
if [[ $mem -lt 4096 ]]; then
mem=4096
fi
if [[ $mem -gt 8192 ]]; then