Google Android Forum

Google Android Forum | Google Android - Homepage
 
HomeFAQSearchMemberlistUsergroupsRegisterLog in

Share | 
 

 Turning Swap on an off

View previous topic View next topic Go down 
AuthorMessage
QMan

avatar

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

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 http://www.spotonyourlung.com
 
Turning Swap on an off
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» Scared...keep Losing vision in right eye
» Staff Viewpoint: Is Capcom turning into a bad videogame company ?
» Tick tock, the tide is turning and slowlee slowlee the monkey is catchee
» Swaptree-- swap books, dvds etc

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