This commit is contained in:
Michel Le Cocq 2020-06-22 10:34:50 +02:00
parent 5d5fdd7146
commit ca9c0e5bd5

View File

@ -25,7 +25,7 @@ SWAPVOLSIZE=$(( MEMSIZE / 1024 ))
like bellow : like bellow :
~~~{.shell} ~~~{.shell}
# Convert to MiB to align the size on the size of a block # Convert to MiB to align the size on the size of a block
SWAPVOLSIZE=$(( SWAPSIZE / 1024 / 1024 )) SWAPVOLSIZE=$(( SWAPSIZE / 1024 / 1024 ))
MEMSIZE=$(cat /proc/meminfo | grep MemTotal | awk -F' ' '{print $2}') MEMSIZE=$(cat /proc/meminfo | grep MemTotal | awk -F' ' '{print $2}')