Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I woke up this morning and linux came out of its sleepy thingy and then i noticed that the CPU was on 100% ALL the time. So i took a look in the processes list and gnome was at around 30-60% all the time and using around 200MB of my ram!! so was another program but can't remember what it was called and also control center was using around 10-20% CPU time, whilst using around 70MB. I couldn't understand this because it's as if they were working whilst I was asleep......on what? Also, i looked at the more info bit and it said that these prgrams were 'sleeping'....were they sleep processing or something b/c i thought they would just be cached and on 0% time? I did take a screenshot but it was tooo dog slow that I just rebooted.
Well there's a daemon(service) named 'cron' (or vcron or crond...) which executes tasks on a schedule(everyday or everymonth or at 6am of 24/12/03).
Well, 'slocate' is one of it's entries by default, and it executes 'updatedb' which updates your 'locate' database.
And this takes up alot of ressources(executing 'updatedb' I mean).
No, it isn't a backup because it doesn't contain the data of the files, it's a list(sort of) of the files(name with location, ex: /bin/bash), not the files themselves:
searching the list is faster than searching through the entire system.