r/C_Programming • • Oct 11 '26

Apple Silicon GPU Monitor

Hello!!

I was trying to find out the activity of the GPU on my apple M3 mac, but I just got a bit annoyed by having to put in my password every time for powermetrics, so I wanted to create a program that could monitor the GPU without sudo access-

https://github.com/Backbak100/gpu-stat-finder

The code takes inspiration from macmon, just instead of rust it's in C

I would really like some feedback on this project! (Also because I'm not sure if it works on any computer other than my own right now---)

4 Upvotes

10 comments sorted by

View all comments

0

u/aieidotch Oct 13 '26

nvtop also works

1

u/jimmia67 Oct 13 '26

Yeahh by the time i found nvtop i was more interested on how the data was gotten in the first place

1

u/mikeblas Oct 13 '26

It's not uncommon, when learning, to reimplenet things that already exist. The goal isn't the tool, it's the l3ssons learned in the creation of the tool.

1

u/The_Real_Sniff Oct 14 '26

`mactop` too!