One Quickie

So, what's hammering my network / disk? (DTrace->General)
Sometimes your harddrive is cheebling, or maybe your DSL modem lights are lit up like a Christmas Tree. The network activity monitor in Mavericks is beyond useless for figuring out exactly who the guilty party is. DTrace to the rescue. Run this rootstyles:
# dtrace -n 'syscall::read:entry { @read[execname] = sum(arg2); }' -n 'syscall::read_nocancel:entry { @read[execname] = sum(arg2); }'
dtrace: description 'syscall::read:entry ' matched 1 probe
dtrace: description 'syscall::read_nocancel:entry ' matched 1 probe
  mdworker                                                   27699995
  dbfseventsd                                                37756854
  ocspd                                                     125588322
  storeagent                                                431376595
Sure enough, it's the MacAppStore program, downloading updates even though it's been told not to.

borkware home | products | miniblog | rants | quickies | cocoaheads
Advanced Mac OS X Programming book