I wonder that I can use the raw data such as CPU usage, GPU/CPU teperature not only output to terminal.
For example, in case cpu temperature, there is raw data in this path "/sys/devices/virtual/thermal/thermal_zone0/temp’. So, I can use this data on my application code.
Where can I find the raw data of tegrastats output data?
Please share which release you are using and what system status you need. The device nodes may be different between releases and we implement tegrastats for convenience. Please let us know what information is required in your use-case so that we can check further.
Hi, thank you for your reply.
Because I don’t know exactly what “release” you need, I share everything below.
- module : Jetson AGX Xavier
- JetPack version: JetPack 4.6.2
- kernel version: Linux version 4.9.253-tegra
- OS version: Ubuntu 18.04
And I need the system status information below.
- Amount of RAM in use in MB.
- CPU load statistics for each of the CPU cores
- GPU and CPU temperature(+what part each zone means)
For your understanding, I extracted what I need from tegrastats output data.
RAM 1903/15692MB (lfb 3251x4MB) CPU [1%@1190,1%@1190,2%@1190,0%@1190,0%@1190,0%@1190,0%@1190,0%@1190] GPU@32C CPU@33.5C
You can check the device nodes for information:
# cat /proc/meminfo
# cat /proc/stat
# cat /sys/devices/virtual/thermal/thermal_zone1/temp
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.