How to get some unique information abut any Jetson TX2 device?

Hi ,
I want to deploy some project in Jetson TX2 device but i want to use condition that this project can not use in other TX2 devices. So how I can get some unique information about current Jetson TX2 device which can be used for if condition? for example Jetson TX2 board information or anything else unique?

Hi,

You could get the device serial # from below.
nvidia@nvidia-desktop:/proc/device-tree$ xxd serial-number

Hi,

I found this command

$ cat /proc/cmdline

which returns this unique ID which I can use now.

androidboot.serialno=0335115020673

https://devtalk.nvidia.com/default/topic/1036930/read-hardware-id-of-the-tx2-som/

Thank you very much.