- wifi:
rm /L*/Pr*ces/S*/{com.apple.{air,net},Net,pref}*.plist
- shut off bluetooth
- reset SMC: hold C-M-S-powerbutton for 3 seconds while the computer is off but plugged in.
- do this for issues related to: MagSafe, battery, fans, power button, lid, unexpected shutdown/sleep.
- expect MagSafe light to change.
- reset NVRAM/PRAM:: boot with Command-Option-P-R until restart and second chime.
- do this for issues related to: speaker volume, screen resolution, startup disk selection, recent kernel panic information.
- Recovery Mode: boot with Command-R or Command-Option-R (via internet).
- use this to reinstall OSX or fix/verify drives.
- Safe Mode:: boot with Shift.
- use this if the computer crashes during bootup. It will fix the recovery/boot partition.
- Diagnotics Mode:: boot with D or Option-D (via internet).
- Verbose Mode:: boot with Command-V.
- Single-User Mode:: boot with Command-S.
- monitor file openings:
sudo opensnoop -ve | egrep "(UID|$UID)"
- check who's taking all the disk io:
sudo iosnoop -stoD
- monitor starting processes:
sudo execsnoop -v