This commit is contained in:
parent
52a7217fa4
commit
5d5fdd7146
@ -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}')
|
||||||
|
Loading…
Reference in New Issue
Block a user