Skip to content

Instantly share code, notes, and snippets.

@chockenberry
Last active June 14, 2021 08:42
Show Gist options
  • Save chockenberry/2afe4d0f1f9caddc81de to your computer and use it in GitHub Desktop.
Save chockenberry/2afe4d0f1f9caddc81de to your computer and use it in GitHub Desktop.
In the next version of iPulse, I'd like to show GPU statistics. Unfortunately, the format
for these statistics is vendor specfic (see the "Performance Statistics" dictionary below.)
In order to cover as many devices as possible, I'd like you to run the following commands
from your Terminal:
$ sysctl hw.model
$ ioreg -r -d 1 -w 0 -c "IOAccelerator"
You can help me read the results by putting them in a code block (triple backticks).
I'll add a few of my Macs to get this list started. Thanks for your help!
@aaronvandoren
Copy link

Thank you so much!

This is almost exactly what I've landed on as well. Turns out some newer GPU drivers also have a property called "GPU Activity(%)" which is pretty much the same as "Device Utilization %".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment