Active Topics

 


Reply
Thread Tools
Posts: 519 | Thanked: 366 times | Joined on Sep 2009 @ North Carolina (Formerly Denmark and Iceland)
#1
Where and how to I clear the cache for the kernel/user on the N900?

I can see that it exists, in that the device seems to ignore some changes I make to settings files, and I can scroll through my previous command line inputs in X-Terminal.

Last edited by olighak; 2010-01-18 at 17:30.
 
Posts: 86 | Thanked: 28 times | Joined on Jan 2010 @ That beer and prezels country in Europe -_-
#2
If you want to remove the command line history, this would usually be

history -c

For "ignores some changes to settings files I make" you should include an example of which file you've tried to change.

Last edited by Renkon; 2010-01-18 at 17:53.
 
Posts: 287 | Thanked: 127 times | Joined on Oct 2009 @ Sweden
#3
After changing settings you'll need to restart the app that uses them. This will always happen through a reboot, but many apps can just be closed and started again. In a few cases one needs to run a script to move the settings from where they are edited into the live config, but those cases should say so in the instructions on how to change them.
 
Posts: 2,802 | Thanked: 4,491 times | Joined on Nov 2007
#4
Code:
# echo 3 > /proc/sys/vm/drop_caches
A value of 1 frees the pagecache, 2 frees dentries and inodes and 3 all of the above.
 

The Following User Says Thank You to lma For This Useful Post:
Posts: 1,224 | Thanked: 1,763 times | Joined on Jul 2007
#5
Originally Posted by olighak View Post
Where and how to I clear the cache for the kernel/user on the N900?

I can see that it exists, in that the device seems to ignore some changes I make to settings files, and I can scroll through my previous command line inputs in X-Terminal.
This have nothing to do with kernel cache.

Previous command line inputs in X-Terminal are history saved by your shell. Assuming you use the default shell, there is no history command. Try something like:

rm ~/ash_history
exit


The issue with settings is that some programs read configuration only when they start, or when they get a command to reread configuration. If you describe the specific settings you change, you might get help in activating the changes immediately.
 
Reply


 
Forum Jump


All times are GMT. The time now is 11:34.