Skip to content

Metrics on macOS #1632

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
aestriplex opened this issue Mar 6, 2025 · 0 comments
Open

Metrics on macOS #1632

aestriplex opened this issue Mar 6, 2025 · 0 comments
Labels
MacOS 🍏 MacOS / Darwin related issues new feature Completely new feature

Comments

@aestriplex
Copy link
Contributor

After developing metrics on overall GPU utilization on macOS, I encountered a limitation in accessing the list of processes using the GPU and the GPU utilization (percentage) per process. Indeed, this information is not publicly available through any API. The only way to obtain it on macOS (as a user) is through the Activity Monitor.
This issue prompted me to consider other metrics that could be implemented for macOS, utilizing reliable information and public APIs. Here are a few ideas that came to my mind:

  • Network interfaces and related IP addresses (via struct ifaddrs).
  • Page ins, faults, and number of wakeups (all via struct rusage_info_v2).
  • A metric that displays the GPU utilization splitter by its two main components: Renderer Utilization % and Tiler Utilization %. I suggest structuring this metric in two colors, similar to memory usage.
@fasterit fasterit added MacOS 🍏 MacOS / Darwin related issues new feature Completely new feature labels Mar 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
MacOS 🍏 MacOS / Darwin related issues new feature Completely new feature
Projects
None yet
Development

No branches or pull requests

2 participants