How to get gpu load information without using tegrastats Utility

Hi

I’m trying to get gpu load information in my project use php.

Because the tegrastats program does not exit when printing a piece of text, it is a bit difficult to use.

Is there any other way to get it?

Maybe use cat?

Thanks.

Check with below node.

“/sys/devices/xxxx.vgpu/load”

cat /sys/devices/gpu.0/load