It can be killed with:
sudo killall updatedb.mlocate
Or:
sudo kill -9 <PID>
It runs every day by cron. Disable it with:
sudo chmod -x /etc/cron.daily/mlocate
And if you want to re-enable it:
sudo chmod +x /etc/cron.daily/mlocate
本文介绍了如何通过修改权限或cron任务来禁用Linux系统中的mlocate服务,以及如何重新启用该服务。此外还提供了清除mlocate数据库的方法。

4005







/var/lib/mlocate/mlocate.dbas well – reto Jul 3 '13 at 8:50/etc/updatedb.confand setPRUNEPATHSwith the directories you DO NOT want to search.– inetpro Jul 10 at 12:36