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: 15:58:13 -20.8 %/hr -23766 mAh -12158 mW
User Active: 14:08:59 -21.3 %/hr -21389 mAh -12335 mW
User Idle: 01:49:14 -18.3 %/hr -2377 mAh -10485 mW
Dark Wake: 00:00:25 0.0 %/hr 0 mAh 0 mW
Sleep: 13:31:56 2.3 %/hr 2190 mAh -547 mW
Standby: 00:19:53 3.4 %/hr 80 mAh 0 mW

CPU Summary
===========
Avg. Frequency: 2.296 GHz
Interrupt Rate: 5915 Hz
C-State Res: 10.4% C2 6% C3 0% C6 0% C7 4% C8 0% C9 0% C10 0%
A/C: 10.4%
User Active: 10.2%
User Idle: 10.5%
Battery: 10.6%
User Active: 9.4%
User Idle: 20.0%

I/O Summary
===========
Disk Reads: 29010238
Disk Writes: 8644168
Bytes Read: 1114.0 GB ( 1.7 MB/s)
Bytes Written: 837617.1 MB ( 1.3 MB/s)

Packets Sent: 11713682
Packets Received: 10172390
Bytes Sent: 3723.3 MB ( 5.8 KB/s)
Bytes Received: 5930.3 MB ( 9.3 KB/s)

Top I/O Activity
================
Time: 2013-12-01 22:33:22 to 2013-12-01 22:43:33 (00:10:10)
Disk Reads: 172740
Disk Writes: 157121
Bytes Read: 13887.9 MB ( 22.8 MB/s)
Bytes Written: 13577.9 MB ( 22.3 MB/s)

Packets Sent: 3140
Packets Received: 3043
Bytes Sent: 417.2 KB ( 0.7 KB/s)
Bytes Received: 934.7 KB ( 1.5 KB/s)

Time: 2013-12-01 18:54:30 to 2013-12-01 19:04:30 (00:10:00)
Disk Reads: 84194
Disk Writes: 72153
Bytes Read: 6770.4 MB ( 11.3 MB/s)
Bytes Written: 6480.2 MB ( 10.8 MB/s)

Packets Sent: 4093
Packets Received: 3566
Bytes Sent: 523.2 KB ( 0.9 KB/s)
Bytes Received: 886.2 KB ( 1.5 KB/s)

Time: 2013-11-28 19:44:23 to 2013-11-28 23:30:44 (03:46:21)
Disk Reads: 123879
Disk Writes: 56082
Bytes Read: 5711.6 MB ( 9.8 MB/s)
Bytes Written: 5089.0 MB ( 8.7 MB/s)

Packets Sent: 11964
Packets Received: 12613
Bytes Sent: 1.3 MB ( 2.4 KB/s)
Bytes Received: 8.0 MB ( 14.0 KB/s)

Top Fan Activity
================
Time: 2013-11-30 20:13:54 to 2013-11-30 20:54:02 (00:40:08)
Total samples: 41
High samples: 41
Very high samples: 0
Process Intrpts.: 984413
CPU Time: 00:51:31 (128.4%)
00:20:26 (50.9%) 29802 com.crashplan.engine
00:19:18 (48.1%) 566137 com.apple.WebKit.WebContent
00:03:46 (9.4%) 61786 com.apple.WindowServer
00:01:24 (3.5%) 392 com.apple.blued
00:01:06 (2.7%) 4202 com.apple.Safari

Time: 2013-11-26 11:32:06 to 2013-11-26 12:09:16 (00:37:10)
Total samples: 37
High samples: 37
Very high samples: 0
Process Intrpts.: 2629811
CPU Time: 01:51:05 (298.9%)
01:03:04 (169.7%) 1696708 com.google.GoogleTalkPluginD
00:20:56 (56.4%) 51668 com.crashplan.engine
00:10:33 (28.4%) 142432 com.apple.WindowServer
00:04:33 (12.3%) 194380 com.apple.WebKit.WebContent
00:01:56 (5.2%) 207486 com.apple.audio.coreaudiod

Time: 2013-11-29 22:23:26 to 2013-11-29 22:47:26 (00:24:00)
Total samples: 24
High samples: 24
Very high samples: 0
Process Intrpts.: 676512
CPU Time: 00:24:28 (102.0%)
00:12:23 (51.6%) 17603 com.crashplan.engine
00:04:36 (19.2%) 316533 com.apple.WebKit.WebContent
00:01:28 (6.1%) 45086 com.apple.WindowServer
00:01:12 (5.0%) 88281 PluginProcess
00:00:49 (3.5%) 4453 com.apple.Safari

Memory Summary
==============
Swap Dev is SSD: Yes
Total: 8192.0 MB
Free: 22.0 MB
Wired: 996.4 MB
Compressor: 1156.7 MB
Compressed: 4734.5 MB
Internal: 4605.2 MB
External: 630.3 MB
Purgeable: 102.5 MB

IOAccelResident: 222.2 MB
IOAccelWired: 29.9 MB
IOAccelDirty: 215.0 MB
IOAccelCached: 0.0 KB
IOAccelPurgeable: 20.7 MB

Faults: 33729152413
Purges: 47945857 ( 294.2 KB/s)
Zero-fills: 1642607459 ( 9.8 MB/s)
Reactivations: 300385037 ( 1.8 MB/s)
Page-ins: 3348672 ( 20.5 KB/s)
Page-outs: 625293 ( 3.8 KB/s)
Decompressions: 216406239 ( 1.3 MB/s)
Compressions: 226784564 ( 1.4 MB/s)
Swap-ins: 24865424 ( 152.6 KB/s)
Swap-outs: 25968750 ( 159.3 KB/s)

Top Memory Activity
===================
Time: 2013-11-30 11:20:01 to 2013-11-30 11:30:06 (00:10:05)
Free: 8.6 MB
Wired: 1106.0 MB
Compressor: 2800.5 MB
Compressed: 12724.1 MB
Internal: 3824.1 MB
External: 322.8 MB
Purgeable: 188.4 MB

IOAccelResident: 133.7 MB
IOAccelWired: 31.6 MB
IOAccelDirty: 133.2 MB
IOAccelCached: 0.0 KB
IOAccelPurgeable: 53.1 MB

Faults: 65814909
Purges: 12056 ( 79.7 KB/s)
Zero-fills: 69663 ( 460.6 KB/s)
Reactivations: 265442 ( 1.7 MB/s)
Page-ins: 839 ( 5.5 KB/s)
Page-outs: 92 ( 0.6 KB/s)
Decompressions: 818629 ( 5.3 MB/s)
Compressions: 764666 ( 4.9 MB/s)
Swap-ins: 2305 ( 15.2 KB/s)
Swap-outs: 0 ( 0.0 KB/s)
Processes:
Resident: 2786.5 MB com.apple.WebKit.WebContent
Resident: 44.0 MB com.twitter.twitter-mac
Resident: 32.9 MB com.apple.AddressBook.SourceSync
Resident: 19.9 MB com.apple.WindowServer
Resident: 18.7 MB PluginProcess
Resident: 18.3 MB com.apple.iTunes
Resident: 17.1 MB com.apple.iCal
Resident: 15.8 MB com.getdropbox.dropbox
Resident: 15.1 MB com.apple.Preview
Resident: 14.3 MB com.apple.installer

Time: 2013-11-29 14:36:08 to 2013-11-29 14:46:08 (00:10:00)
Free: 9.3 MB
Wired: 1083.1 MB
Compressor: 846.8 MB
Compressed: 8802.5 MB
Internal: 5753.3 MB
External: 369.4 MB
Purgeable: 187.7 MB

IOAccelResident: 109.1 MB
IOAccelWired: 29.1 MB
IOAccelDirty: 106.5 MB
IOAccelCached: 0.0 KB
IOAccelPurgeable: 37.4 MB

Faults: 65284735
Purges: 7618 ( 50.8 KB/s)
Zero-fills: 811805 ( 5.3 MB/s)
Reactivations: 554636 ( 3.6 MB/s)
Page-ins: 2844 ( 19.0 KB/s)
Page-outs: 385 ( 2.6 KB/s)
Decompressions: 371537 ( 2.4 MB/s)
Compressions: 643820 ( 4.2 MB/s)
Swap-ins: 84120 ( 560.8 KB/s)
Swap-outs: 0 ( 0.0 KB/s)
Processes:
Resident: 4105.4 MB com.apple.WebKit.WebContent
Resident: 101.7 MB com.apple.iTunes
Resident: 52.2 MB com.apple.blued
Resident: 50.4 MB com.apple.Finder
Resident: 44.8 MB com.companyline.hall.desktop
Resident: 42.4 MB com.apple.Safari
Resident: 36.3 MB com.apple.WindowServer
Resident: 32.9 MB com.microsoft.rdc
Resident: 30.3 MB com.apple.UserEventAgent-System
Resident: 25.9 MB PluginProcess

Time: 2013-11-30 17:00:00 to 2013-11-30 17:10:05 (00:10:05)
Free: 9.9 MB
Wired: 1106.7 MB
Compressor: 1511.3 MB
Compressed: 12493.7 MB
Internal: 5103.0 MB
External: 330.8 MB
Purgeable: 155.9 MB

IOAccelResident: 60.6 MB
IOAccelWired: 18.5 MB
IOAccelDirty: 60.6 MB
IOAccelCached: 0.0 KB
IOAccelPurgeable: 20.7 MB

Faults: 65878278
Purges: 4766 ( 31.5 KB/s)
Zero-fills: 87085 ( 575.8 KB/s)
Reactivations: 225172 ( 1.5 MB/s)
Page-ins: 1243 ( 8.2 KB/s)
Page-outs: 50 ( 0.3 KB/s)
Decompressions: 616041 ( 4.0 MB/s)
Compressions: 611348 ( 3.9 MB/s)
Swap-ins: 16157 ( 106.8 KB/s)
Swap-outs: 0 ( 0.0 KB/s)
Processes:
Resident: 3943.2 MB com.apple.WebKit.WebContent
Resident: 47.1 MB com.companyline.hall.desktop
Resident: 41.3 MB com.apple.blued
Resident: 38.9 MB com.knock.mac
Resident: 36.6 MB com.apple.mail
Resident: 33.0 MB com.apple.AddressBook.SourceSync
Resident: 31.2 MB com.apple.UserEventAgent-Aqua
Resident: 29.2 MB com.apple.Safari
Resident: 28.1 MB com.apple.UserEventAgent-System
Resident: 19.0 MB PluginProcess

Top Battery Usage
=================
Time: 2013-11-30 22:13:28 to 2013-11-30 22:24:28 (00:11:00)
Power: -17602 mW (-33.2 %/hr)
Avg. Frequency: 2.268 GHz
Interrupt Rate: 14517 Hz
C-State Res: 0.0% C2 0% C3 0% C6 0% C7 0% C10 0%
Display Brightness: 63.0%
Process Intrpts.: 350900
CPU Time: 00:13:16 (120.7%)
00:05:24 (49.2%) 8138 com.crashplan.engine
00:02:46 (25.2%) 139408 com.apple.WebKit.WebContent
00:01:06 (10.1%) 16276 com.apple.WindowServer
00:01:03 (9.6%) 2471 com.apple.Safari
00:00:44 (6.8%) 21194 PluginProcess

Time: 2013-11-30 20:23:42 to 2013-11-30 20:34:42 (00:11:00)
Power: -17425 mW (-30.9 %/hr)
Avg. Frequency: 2.268 GHz
Interrupt Rate: 10763 Hz
C-State Res: 0.0% C2 0% C3 0% C6 0% C7 0% C10 0%
Display Brightness: 63.0%
Process Intrpts.: 268964
CPU Time: 00:14:40 (133.5%)
00:05:53 (53.6%) 156021 com.apple.WebKit.WebContent
00:05:35 (50.8%) 8153 com.crashplan.engine
00:01:08 (10.4%) 18777 com.apple.WindowServer
00:00:22 (3.5%) 109 com.apple.blued
00:00:19 (2.9%) 1094 com.apple.Safari

Time: 2013-11-30 20:12:42 to 2013-11-30 20:23:42 (00:11:00)
Power: -17185 mW (-30.1 %/hr)
Avg. Frequency: 2.268 GHz
Interrupt Rate: 11389 Hz
C-State Res: 0.0% C2 0% C3 0% C6 0% C7 0% C10 0%
Display Brightness: 63.0%
Process Intrpts.: 265886
CPU Time: 00:13:11 (120.0%)
00:05:39 (51.4%) 8116 com.crashplan.engine
00:04:14 (38.5%) 151136 com.apple.WebKit.WebContent
00:01:07 (10.3%) 18607 com.apple.WindowServer
00:00:23 (3.5%) 109 com.apple.blued
00:00:15 (2.4%) 901 com.apple.Safari

Top CPU Activity
================
Time: 2013-12-01 22:43:33 to 2013-12-01 22:52:55 (00:09:22)
Avg. Frequency: 2.267 GHz
Interrupt Rate: 11241 Hz
C-State Res: 0.0% C2 0% C3 0% C6 0% C7 0% C10 0%
Process Intrpts.: 198556
CPU Time: 00:06:17 (67.1%)
00:05:05 (54.3%) 6391 com.crashplan.engine
00:00:43 (7.6%) 119102 com.apple.WebKit.WebContent
00:00:04 (0.7%) 3319 com.knock.mac
00:00:03 (0.6%) 39 com.apple.blued
00:00:02 (0.5%) 827 com.apple.WindowServer

Time: 2013-12-01 22:40:29 to 2013-12-01 22:43:33 (00:03:03)
Avg. Frequency: 2.267 GHz
Interrupt Rate: 20376 Hz
C-State Res: 0.0% C2 0% C3 0% C6 0% C7 0% C10 0%
Process Intrpts.: 68684
CPU Time: 00:02:59 (98.0%)
00:01:27 (47.8%) 2328 com.crashplan.engine
00:01:09 (38.2%) 39619 com.apple.WebKit.WebContent
00:00:02 (1.6%) 301 com.apple.mail
00:00:02 (1.5%) 2817 com.apple.WindowServer
00:00:02 (1.5%) 657 com.apple.blued

Time: 2013-12-01 22:33:22 to 2013-12-01 22:40:29 (00:07:06)
Interrupt Rate: 20376 Hz
C-State Res: 0.0% C2 0% C3 0% C6 0% C7 0% C10 0%
Process Intrpts.: 161174
CPU Time: 00:07:07 (100.1%)
00:03:23 (47.8%) 5414 com.crashplan.engine
00:02:42 (38.1%) 92153 com.apple.WebKit.WebContent
00:00:06 (1.6%) 700 com.apple.mail
00:00:06 (1.5%) 6552 com.apple.WindowServer
00:00:06 (1.5%) 1528 com.apple.blued

Connected Devices
=================
Display Brightness: 19.7%
Wi-Fi on: 191:08:52 (98% of total)
Discrete GPU on: 00:00:00 (0% of total)
Bluetooth on: 195:12:57 (100% of total)

USB Devices
– iPhone
– iPad
– FuelBand

Comments are closed.