Commit 5406c611 authored by Noud Kerver's avatar Noud Kerver

fix total ram var

parent 5008f585
Pipeline #259 canceled with stage
in 32 seconds
......@@ -40,7 +40,7 @@ function disk_space_free {
df -m | grep '/$' | awk '{ print $4 }'
}
TOTAL_MEM=$(cat /proc/meminfo | grep MemTotal | awk '{ print $2 }')
TOTAL_MEM=$(cat /proc/meminfo | grep MemTotal | expr $(awk '{ print $2 }') / 1024)
PROCESSOR="$(cat /proc/cpuinfo | grep 'model name' | uniq | awk '{ split($0, a, "\\s+:\\s+"); print a[2] }')"
CPUS=$(cat /proc/cpuinfo | grep name | wc -l)
JAVA_VERSION="$(java -version 2>&1 | grep version | cut -d '"' -f 2)"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment