Occasionally my Macbook Pro will slow down as the hard drive clicks away endlessly. CPU load is low, but applications and menuitems are slow to respond. Is there a utility that can help me determine what's going on, such as the number of bytes read/written or files open/closed per process, over time?
What's causing all the disk activity on OS X?
http://superuser.com/questions/89266/whats-causing-all-the-disk-activity-on-os-x
38 | From
This may not be precisely what you want - but it's a ksh script which wraps around dtrace, so you should be able to figure out how to make dtrace do what you need, if iotop doesn't handle it by default. However, something like | ||||
feedback |
31 | You can also use | ||||
feedback |
2 | I always noticed this on Saturday mornings, and it turned out to be I tried disabling its | ||
feedback |
1 | It might be the OS paging to virtual memory instead of something application specific. You might try quitting less frequently used applications or at least restarting some applications that like to build up in-memory caches over time (e.g. Safari). Check out the various per-process memory statistics with Activity Monitor to find likely culprits. If quitting some memory intensive applications seems to temporarily alleviate the problem, you might try adding RAM. If the disk activity is not paging related, you might be able to use | ||
feedback |
mds
updating Spotlight's index. – Randolph WestDec 30 '09 at 11:46