[BlueOnyx:14294] Re: updatedb strange behavior
Gerald Waugh
gwaugh at frontstreetnetworks.com
Wed Jan 22 10:23:55 -05 2014
On 01/22/2014 08:19 AM, Steven Howes wrote:
> On 22 Jan 2014, at 14:02, Chris Gebhardt - VIRTBIZ Internet <cobaltfacts at virtbiz.com> wrote:
>> updatedb is run as part of the daily cron to update the locate database.
>> That is used whenever you want to use the locate command to find a
>> filename. It's a normal task that does take some resources. The idea
>> is that the resources are chewed up when you are least likely to need
>> them (ie: when the daily cron is run, default at 4AM.)
>>
>> If you don't want to update the locate database automatically every
>> night, then you can always remove the cron job. To do that, just
>> remove mlocate.cron out of /etc/cron.daily/
>>
>> I hope that helps.
> Doesn’t explain it hiding from ps though. That’s a bit odd.
[root at centos-pc ~]# updatedb &
[1] 19093
[root at centos-pc ~]# ps aux | grep updatedb
gerald 2779 0.0 0.0 24972 7688 ? S Jan21 0:00
gpk-update-icon
root 19093 5.5 0.0 4084 764 pts/2 D 09:21 0:00 updatedb
root 19095 0.0 0.0 4356 728 pts/2 S+ 09:21 0:00 grep
updatedb
--
Gerald
More information about the Blueonyx
mailing list