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?


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


I found this command

$ cat /proc/cmdline

which returns this unique ID which I can use now.


Thank you very much.