Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Spotlight has been driving me nuts, over working my poor Harddrive so that my whole computer goes to a crawl. (CPU usage is still pretty low, then again I do have a core i7).

I saw somewhere that there was a way to see what it was currently indexing but I don't remember where.

Any ideas as to see what it's indexing?

I want to see if it's some files that keep doing it, then just put that folder in the ignore list.

share|improve this question
add comment

2 Answers

up vote 5 down vote accepted

Have you tried

sudo opensnoop -p PID

where PID is the process ID of mdworker?

share|improve this answer
add comment

You can use the fs_usage command to see the list of files visited by the mdworker process:

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

Hope it helps!

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.