This is a place that gathers up some of the more helpful command lines related to the Jetson Development Kits.

Jetson Information

Ubuntu Version

$ cat /etc/lsb-release

L4T Version

$ cat /etc/nv_tegra_release

Kernel Version

$ uname -a

CPU Information

$ lscpu

Hardware Information

$ sudo lshw

Disk Usage

$ df -h

Running Processes

$ top

List USB Devices

$ lsusb

USB Devices

List the USB devices and associated drivers.

$ usb-devices

Force Recovery Mode

Place the Jetson into Force Recovery Mode

$ sudo reboot –-force forced-recovery

Helpful Information


dmesg prints the kernel message buffer. The messages typically consist of messages produced by device drivers. Useful when working with new hardware, e.g. USB devices. On newer installations (Newer Ubuntu 14.04, Ubuntu 16.04), you can monitor the dmesg buffer:

$ sudo dmesg –follow


Xorg is the Ubuntu display server. You can monitor the Xorg log in real time:

$ sudo tail -f /var/log/Xorg.0.log

List Partitions

sudo gdisk -l /dev/mmcblk0

Serial USB devices


Below is a quick and dirty bash script which walks through devices in /sys looking for USB devices with a ID_SERIAL attribute. Typically only real USB devices will have this attribute, and so we can filter with it. If we don’t, you’ll see a lot of things in the list that aren’t physical devices.


for sysdevpath in $(find /sys/bus/usb/devices/usb*/ -name dev); do
devname=”$(udevadm info -q name -p $syspath)”
[[ “$devname” == “bus/”* ]] && continue
eval “$(udevadm info -q property –export -p $syspath)”
[[ -z “$ID_SERIAL” ]] && continue
echo “/dev/$devname – $ID_SERIAL”