• Mac OS X,  Mac OS X Server,  Mac Security

    OS X & powermetrics

    Powermetrics is a command that shows very specific information about what’s using your systems power. This makes it handy for troubleshooting what processes are taking up CPU, GPU, etc. To run a basic iteration of the command, we’re going to look at a usage summary report, using the –show-usage-summary option: powermetrics -a --show-usage-summary The output is as follows: Machine model: MacBookAir6,2 OS version: 13A598 *** Sampled system activity (Sun Dec 1 23:04:13 2013 -0600) (5006.04ms elapsed) *** *** Running tasks *** Name PID CPU ms/s User% Deadlines (

  • Mac OS X,  Mac OS X Server,  Mac Security

    systemstats in OS X

    Ever wonder what your computer is up to? Ever wanted to know how much time the computer was awake for, how much battery was left, the exact percentage of use each core was taking up, how much CPU CrashPlan is using, etc? Well, lucky you, there’s systemstats. You just run it: systemstats And it tells you all kinds of juicy stuff. Summary ======= System Version: 13A598 Total Time: 195:13:01 Usage ===== Time on A/C: 165:42:24 Time on Battery: 29:30:35 Wake Time: 181:18:08 User Active: 46:46:18 User Idle: 134:31:49 Dark Wake Time: 00:01:15 Sleep Time: 13:53:37 Standby Time: 00:19:57 Battery ======= Time on Battery: 29:30:35 -10.2 %/hr -21576 mAh -7112 mW Wake:…