@ -69,6 +69,8 @@ MEMSIZE=$(cat /proc/meminfo | grep MemTotal | awk -F' ' '{print $2}')
|
||||
SWAPVOLSIZE=$(( MEMSIZE / 1024 ))
|
||||
~~~
|
||||
|
||||
like bellow :
|
||||
|
||||
~~~
|
||||
# Convert to MiB to align the size on the size of a block
|
||||
SWAPVOLSIZE=$(( SWAPSIZE / 1024 / 1024 ))
|
||||
|
Reference in New Issue
Block a user