Closed ichergui closed 1 year ago
to monitor jetson resources
Tests were done on machine jetson-nano-devkit-emmc with demo-image-full image
jetson-nano-devkit-emmc
demo-image-full
Add the following line into conf/local.conf
conf/local.conf
CORE_IMAGE_BASE_INSTALL_append = " python3-jetson-stats"
Result
root@jetson-tx2-devkit:~# hostnamectl Static hostname: jetson-tx2-devkit Icon name: computer Machine ID: 78f4ec878edc4b61a51ad66504c8a0c2 Boot ID: bf47379c14d14f78a8c0577e4af08583 Operating System: OE4Tegra Demonstration Distro 3.1.27+snapshot-20230827 (dunfell-l4t-r32.7) Kernel: Linux 4.9.337-l4t-r32.7.4+ga1cf17bc0aa0 Architecture: arm64 root@jetson-tx2-devkit:~# root@jetson-tx2-devkit:~# systemctl status jtop ● jtop.service - jtop service Loaded: loaded (/lib/systemd/system/jtop.service; enabled; vendor preset: enabled) Active: active (running) since Mon 2023-08-28 12:13:50 UTC; 53min ago Main PID: 4275 (python3) Tasks: 7 (limit: 8521) Memory: 29.6M CGroup: /system.slice/jtop.service ├─4275 python3 /usr/bin/jtop --force ├─4286 python3 /usr/bin/jtop --force └─4294 python3 /usr/bin/jtop --force
Aug 28 12:13:51 jetson-tx2-devkit jtop[4275]: [INFO] jtop.core.fan - RPM tegra_pwmfan(1) found in /sys/class/hwmon/hwmon2 Aug 28 12:13:51 jetson-tx2-devkit jtop[4275]: [INFO] jtop.core.fan - RPM pwm_tach found in /sys/class/hwmon/hwmon1 Aug 28 12:13:51 jetson-tx2-devkit jtop[4275]: [INFO] jtop.core.fan - Fan temp controller tegra_pwmfan found in /sys/class/hwmon/hwmon2/temp_control Aug 28 12:13:51 jetson-tx2-devkit jtop[4275]: [INFO] jtop.core.jetson_clocks - jetson_clocks found in /usr/bin/jetson_clocks Aug 28 12:13:51 jetson-tx2-devkit jtop[4275]: [INFO] jtop.core.nvpmodel - nvpmodel running in [3]MAXP_CORE_ARM - Default: 3 Aug 28 12:13:51 jetson-tx2-devkit jtop[4294]: [INFO] jtop.service - Initialization service Aug 28 12:13:52 jetson-tx2-devkit jtop[4294]: [INFO] jtop.core.jetson_clocks - Store jetson_clocks configuration in /usr/local/jtop/l4t_dfs.conf Aug 28 12:13:52 jetson-tx2-devkit jtop[4294]: [INFO] jtop.service - service ready Aug 28 12:15:37 jetson-tx2-devkit jtop[4294]: [INFO] jtop.service - jtop timer thread started 1000ms Aug 28 12:16:24 jetson-tx2-devkit jtop[4294]: [INFO] jtop.service - jtop timer thread close root@jetson-tx2-devkit:~# root@jetson-tx2-devkit:~# root@jetson-tx2-devkit:~# python3 -m jtop.core.jetson_libraries CUDA: 10.2.300 OPENCV: 4.1.0 - with CUDA: YES TensorRT: 8.2.1 cuDNN: 8.2.1 VPI: 1.2.3 Vulkan: 1.1.126 root@jetson-tx2-devkit:~#
to monitor jetson resources
Tests were done on machine
jetson-nano-devkit-emmc
withdemo-image-full
imageAdd the following line into
conf/local.conf
Result
Aug 28 12:13:51 jetson-tx2-devkit jtop[4275]: [INFO] jtop.core.fan - RPM tegra_pwmfan(1) found in /sys/class/hwmon/hwmon2 Aug 28 12:13:51 jetson-tx2-devkit jtop[4275]: [INFO] jtop.core.fan - RPM pwm_tach found in /sys/class/hwmon/hwmon1 Aug 28 12:13:51 jetson-tx2-devkit jtop[4275]: [INFO] jtop.core.fan - Fan temp controller tegra_pwmfan found in /sys/class/hwmon/hwmon2/temp_control Aug 28 12:13:51 jetson-tx2-devkit jtop[4275]: [INFO] jtop.core.jetson_clocks - jetson_clocks found in /usr/bin/jetson_clocks Aug 28 12:13:51 jetson-tx2-devkit jtop[4275]: [INFO] jtop.core.nvpmodel - nvpmodel running in [3]MAXP_CORE_ARM - Default: 3 Aug 28 12:13:51 jetson-tx2-devkit jtop[4294]: [INFO] jtop.service - Initialization service Aug 28 12:13:52 jetson-tx2-devkit jtop[4294]: [INFO] jtop.core.jetson_clocks - Store jetson_clocks configuration in /usr/local/jtop/l4t_dfs.conf Aug 28 12:13:52 jetson-tx2-devkit jtop[4294]: [INFO] jtop.service - service ready Aug 28 12:15:37 jetson-tx2-devkit jtop[4294]: [INFO] jtop.service - jtop timer thread started 1000ms Aug 28 12:16:24 jetson-tx2-devkit jtop[4294]: [INFO] jtop.service - jtop timer thread close root@jetson-tx2-devkit:~# root@jetson-tx2-devkit:~# root@jetson-tx2-devkit:~# python3 -m jtop.core.jetson_libraries CUDA: 10.2.300 OPENCV: 4.1.0 - with CUDA: YES TensorRT: 8.2.1 cuDNN: 8.2.1 VPI: 1.2.3 Vulkan: 1.1.126 root@jetson-tx2-devkit:~#