Quantcast
Viewing all articles
Browse latest Browse all 38932

Re: Spotlight indexing begins after a VM is resumed

Well the first thing I do is see what Spotlight is actually indexing upon un-suspending the Virtual Machine.  This can be done from a Terminal using either of the following commands.

 

Note: Copy & Paste the command line into a Terminal so as not to mistype it.  Because these command lines use sudo you'll need to type in your password for these to execute.  Open a Terminal and copy and paste and start one of these commands just prior to un-suspending the Virtual Machine.  (BTW This first commands syntax is actually sudo opensnoop -p PID where PID (Process ID) is of mdworker(or other program) and I've written the command so you do not first have to manually find the PID of mdworker.)

 

sudo opensnoop -p `ps -A | grep -m1 mdworker | awk '{print $1}'`

 

Or

 

sudo fs_usage -w -f filesys mdworker | egrep "open"

 

Once you see what's actually being indexed you can then attempt to make adjustments to the Spotlight Privacy settings in System Preferences.


Viewing all articles
Browse latest Browse all 38932

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>