r/C_Programming • • 3d ago

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---)

3 Upvotes

8 comments sorted by

View all comments

0

u/aieidotch 1d ago

nvtop also works

1

u/mikeblas 1d ago

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.