Yes I am running tegrastats and trying to figure out where it is getting it’s information from. tegrastats’ output is not easily machine parse-able, and I need to record load metrics via my own task to ensure we don’t run out of GPU processing space at a critical point in a mission.
I know an nvidia representative hasn’t endorsed this directly, but many posts on the forum recommend using strace to figure out what tegrastats is reading from so we can access the information directly.
Ok, I will get what information I can from the source code of that project.
We would really like a deeper API to fetch performance information from the GPU. We will be running multiple tasks that will likely be competing for GPU resources, and it seems like there is no way to record stats that would let us understand if/when we run out of cycles/bandwidth/etc.
Having the NVML API available would be fantastic, and probably fulfill all our needs. But it appears that is not supported on Tegra platforms.