Archive for 01/08/15

How to disable updatedb? /usr/bin/updatedb

by in , 0

Sometimes you can see /usr/bin/updatedb running cause high load.
a question is posed. is It necessary to keep updatedb?

Just do the following step to find out the answer

  1. First find out where the program is located on disk.
    $ type updatedb
    updatedb is /usr/bin/updatedb
    
  2. Next find out what package provides updatedb.
    $ rpm -qf /usr/bin/updatedb
    mlocate-0.26-3.fc19.x86_64
    
  3. See if anything requires mlocate.
    $ rpm -q --whatrequires mlocate
    no package requires mlocate
    
  4. Nothing requires it so you can remove the package.
    $ yum remove mlocate