EihiS

November 19, 2015

Change the raspberry pi swap file size without reboot

Filed under: Raspberry 3.14 — Tags: , , , , — admin @ 10:21 am
sudo nano /etc/dphys-swapfile

change the size ( default : CONF_SWAPSIZE=100 ) , is 100MB,to the desired one , then ctrl+O (save) , ctrl+X (exit nano editor)

now, stop the swap system, and restart :

/etc/init.d/dphys-swapfile stop

then :

/etc/init.d/dphys-swapfile start

314159265358979323846264338327950288
419716939937510582097494459230781640
628620899862803482534211706798214808

cat{ } { post_865 } { } 2009-2015 EIhIS Powered by WordPress