"makewhatis" and "find" processes?

Discussion in 'macOS' started by RoboCop001, Nov 29, 2008.

  1. RoboCop001 macrumors 65816

    Joined:
    Oct 4, 2005
    Location:
    Toronto, Canada
    #1
    I just woke up my MacBook Pro, and the HD sounded like there was something going on.

    It wasn't the indexing, so I opened up Activity Monitor and found something taking 10-30% CPU called "find".

    It was under several instances of "sh", and I think it's first parent was "locate.code" or something like that.

    Anyway, after a while I opened Activity Monitor again, and the "find" process was replaced by something called "makewhatis". It disappeared almost a second after I opened Activity Monitor.

    Obviously it's just part of the system, but what exactly do these processes do?

    Apparently "nobody" was running them... lol?
     
  2. Catfish_Man macrumors 68030

    Catfish_Man

    Joined:
    Sep 13, 2001
    Location:
    Portland, OR
    #2
    That's part of the monthly 'maintenance' script. The time consuming part is rebuilding the database that the "locate" command uses... which is of pretty questionable value for most people. Check out the manpage for 'periodic' for more info.
     
  3. RoboCop001 thread starter macrumors 65816

    Joined:
    Oct 4, 2005
    Location:
    Toronto, Canada
    #3
    Ah ok! I figured it had something to do with the maintenance.

    I'll check out that manpage.

    Thanks for the clarification! :)
     

Share This Page