How to check TX2 GPU onboard usage

I am running a program on TX2 and I want to check the usage of GPU resources. For example, when running the program ,how to check the ratio :used/total.
I have used the ‘sudo ~/tegrastats’ to check and found the usage of RAM and other indexs which I don’t understand.
thank you .


You can find the information in our L4T document:

Applications and Tools
TegraStats Utility