Alternative to nvidia-smi for measuring GPU utilization?
On Windows there's NvAPI which works on all GPUs.
On Linux if you're running X Server you can also query some of the information (GPU temperature, clocks, unfortunately no utilization) using nvidia-settings utility. e.g. nvidia-settings -q all
For Quadro and Tesla GPUs there's NVML/nvidia-smi that works both on Linux and Windows 64.
GPUstat outputs with colorful one-liners. It's implemented in Python and it has a test suite if you feel like tweaking it.
https://github.com/wookayin/gpustat
Although this is a very old question, I'm going to leave this here in case someone with the same issue stumble upon this. Nvidia-settings still forwards the GPU usage stat through -q [gpu:X]/GPUUtilization. it's very slow compared to nvidia-smi, but it's still better than not knowing. Either way, I wrote a script to put this and a few other common stats in a concise and readable way. Here it is for those who want it.