Google Android Forum

Google Android Forum | Google Android - Homepage
HomeFAQSearchMemberlistUsergroupsRegisterLog in

Share | 

 Turning Swap on an off

Go down 


Posts : 68
Kudos : 91
Join date : 2009-10-04
Age : 108

PostSubject: Turning Swap on an off   Thu Nov 26, 2009 9:43 pm

If you have your SD card partitioned with a linux-swap file and would like to turn it on or off, (to see performance differences) you can do so in terminal emulator by entering the following commands

su to gain superuser access

swapon /dev/block/mmcblk0p3 -----------------to turn it on, the 0 in 0p3 is a zero.
swapoff /dev/block/mmcblk0p3 -----------------to turn it off, the 0 in 0p3 is a zero

you can check your free memory status by typing free after superuser access as well. It will provide total used memoryand free memory for both phone mem ory and swap file (if used)
Back to top Go down
View user profile
Turning Swap on an off
Back to top 
Page 1 of 1
 Similar topics
» Scared...keep Losing vision in right eye
» Tick tock, the tide is turning and slowlee slowlee the monkey is catchee
» eShop: FPS Swap-Fire Is Coming To The Wii U!

Permissions in this forum:You cannot reply to topics in this forum
Google Android Forum :: G1/Dream Forum :: G1/Dream Root-
Jump to: