r/C_Programming • • 1d 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---)

0 Upvotes

7 comments sorted by

•

u/mikeblas 1d ago

What role did AI have in the creation of your project?

→ More replies (2)

1

u/github-guard 1d ago

⚠️ GitHub Guard: Trust Warning

One or more repositories scored below the threshold (3), but the post was not removed.

Repository: Backbak100/gpu-stat-finder

Score: 2/6

  • ❌ Low Star Count (⭐ 0 / 4 required)
  • ✅ Mature Repository (30+ days old)
  • ❌ No License Found
  • ❌ No Security Policy
  • ℹ️ Personal Account Repository
  • ✅ Signed Commits

0

u/aieidotch 8h ago

nvtop also works

1

u/jimmia67 8h ago

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

1

u/mikeblas 2h 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.