View Single Post
Posts: 169 | Thanked: 71 times | Joined on Aug 2010 @ Spain
#1758
Originally Posted by zurrain101 View Post
i am getting this in leafpad.
100
10
100
100
100
100
100
100
100
100
guess ill have to remove the battery patch n install again
Sorry, maybe my post wasn't clear. Yes, it was just to redirect the value to a file. Then you could open the file and see the value. Thinking about it now, you needn't the file, so you could just
Code:
sleep 10 && cat /proc/sys/vm/vfs_cache_pressure
With that it would output to xtermina without needing to open any file.

Anyway, I see that theree's a 10 value, so the patch should be functioning (you didn't set it manually and thus that value, did you?). But there's a lot of 100 values. Did you wait the 10 seconds after executing command, without unlocking the phone? If not I would recommend you to remove the battery patch and reapply it carefully again, paying attention to all commands and trying to understand them. You would learn something, for sure.

Oh, you can remove the file:
Code:
rm /home/user/MyDocs/patch-test.txt
If you rerun the commands I posted the file will be created again. If you wanna test again use the first command in this post.

EDIT: Sorry for not being clear. "sleep" command waits the seconds you set as parameter without doing nothing but wait. I put that to give you time to lock the phone. Yes, maybe I would have had to explain that before. I give you this advice: try to learn what commands do, that way you'll be able to fix things, or at least know what you're doing. It's slow but it's satisfying and useful

Last edited by jpala16; 2011-08-10 at 08:16.
 

The Following User Says Thank You to jpala16 For This Useful Post: