# Nsys on Xavier AGX Drive

**URL:** <https://forums.developer.nvidia.com/t/nsys-on-xavier-agx-drive/194863>\
**Category:** DRIVE AGX Xavier General\
**Tags:** drive-devtools\
**Created:** [November 11, 2021, 5:22pm UTC](https://forums.developer.nvidia.com/t/nsys-on-xavier-agx-drive/194863 "2021-11-11T17:22:09Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![user3705](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@user3705](https://forums.developer.nvidia.com/u/user3705)\
**Post date:** [November 11, 2021, 5:22pm UTC](https://forums.developer.nvidia.com/t/nsys-on-xavier-agx-drive/194863/1 "2021-11-11T17:22:09Z")

</div>

Please provide the following info (check/uncheck the boxes after creating this topic):  
**Software Version**  
 DRIVE OS Linux 5.2.6  
 DRIVE OS Linux 5.2.6 and DriveWorks 4.0  
 DRIVE OS Linux 5.2.0  
 DRIVE OS Linux 5.2.0 and DriveWorks 3.5  
 NVIDIA DRIVE™ Software 10.0 (Linux)  
 NVIDIA DRIVE™ Software 9.0 (Linux)  
 other DRIVE OS version  
 other

**Target Operating System**  
 Linux  
 QNX  
 other

**Hardware Platform**  
 NVIDIA DRIVE™ AGX Xavier DevKit (E3550)  
 NVIDIA DRIVE™ AGX Pegasus DevKit (E3550)  
 other

**SDK Manager Version**  
 1.7.0.8846  
 other

**Host Machine Version**  
 native Ubuntu 18.04  
 other

Hello,

I am trying to profile my AGX Drive Xavier application where I would like to monitor the GPU and DLA overheads for performance.

I could not locate nsys or any Nsight related libraries under /usr/local/cuda-/\*

From what I understand to generate a nsys profile I would need to do the following:  
trtexec --onnx=foo.onnx --profilingVerbosity=detailed --saveEngine=foo.plan  
nsys profile -o foo\_profile trtexec --loadEngine=foo.plan --warmUp=0 --duration=0 --iterations=50

Is the 2nd step run on Host processor instead of AGX?

Thanks

---

<div class="post-metadata">

**Author:** ![VickNV](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/vicknv/32/14043_2.png) [@VickNV](https://forums.developer.nvidia.com/u/VickNV)\
**Post date:** [November 11, 2021, 5:49pm UTC](https://forums.developer.nvidia.com/t/nsys-on-xavier-agx-drive/194863/2 "2021-11-11T17:49:51Z")

</div>

Hi, @user3705  
Please find it under /opt/nvidia/nsight-systems and refer to [Nsight Systems User Guide :: Nsight Systems Documentation](https://docs.nvidia.com/drive/drive-os-5.2.6.0L/nsight-systems/UserGuide/index.html). Thanks.

---

<div class="post-metadata">

**Author:** ![user3705](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@user3705](https://forums.developer.nvidia.com/u/user3705)\
**Post date:** [November 11, 2021, 5:53pm UTC](https://forums.developer.nvidia.com/t/nsys-on-xavier-agx-drive/194863/3 "2021-11-11T17:53:12Z")

</div>

Hi,

I do not see nsight-systems under /opt/nvidia/  
Do I need to enable something when installing using SDK? or is this a separate installation?

---

<div class="post-metadata">

**Author:** ![VickNV](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/vicknv/32/14043_2.png) [@VickNV](https://forums.developer.nvidia.com/u/VickNV)\
**Post date:** [November 11, 2021, 6:01pm UTC](https://forums.developer.nvidia.com/t/nsys-on-xavier-agx-drive/194863/4 "2021-11-11T18:01:51Z")

</div>

I believe it is part of host components installed with DRIVE OS 5.2.6 by SDK Manager.  
Did you check on your host system installed with the host components?

---

<div class="post-metadata">

**Author:** ![VickNV](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/vicknv/32/14043_2.png) [@VickNV](https://forums.developer.nvidia.com/u/VickNV)\
**Post date:** [November 11, 2021, 6:04pm UTC](https://forums.developer.nvidia.com/t/nsys-on-xavier-agx-drive/194863/5 "2021-11-11T18:04:22Z")

</div>

This should be your installation log.

> ~/.nvsdkm/logs/DRIVE\_OS\_5.2.6\_SDK\_Linux\_OSWithSamples/NV\_NVIDIA\_NSIGHT\_SYSTEMS\_LINUX\_COMP.log

---

<div class="post-metadata">

**Author:** ![user3705](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@user3705](https://forums.developer.nvidia.com/u/user3705)\
**Post date:** [November 11, 2021, 6:06pm UTC](https://forums.developer.nvidia.com/t/nsys-on-xavier-agx-drive/194863/6 "2021-11-11T18:06:43Z")

</div>

Yes, nsys-ui it is installed on the host. I don’t see the nsys CLI.
