Jetson/Jetson TK1 System Info

From eLinux.org
< Jetson
Revision as of 03:23, 7 June 2014 by Shervin.emami (talk | contribs) (Created the Jetson TK1 System Info page. (Haven't finished the formatting))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This page shows potential Jetson TK1 buyer what to expect, and existing Jetson TK1 owners how to get familiar with their device, particularly for those new to Linux. To run these commands yourself, either click on the top-left icon in Ubuntu Unity and type "terminal" to open a command shell, or open an SSH command shell into your device from your desktop. Then enter the command highlighted in the box, and you should see the output shown below that command.

Show which version of Ubuntu it is

cat /etc/lsb-release

DISTRIB_ID=Ubuntu

DISTRIB_RELEASE=14.04 DISTRIB_CODENAME=trusty

DISTRIB_DESCRIPTION="Ubuntu 14.04 LTS"

This shows you are basically running Ubuntu 14.04 ("LTS" long-term-support version).

Show which kernel is running

uname -a

Linux tegra-ubuntu 3.10.24-g6a2d13a #1 SMP PREEMPT Fri Apr 18 15:56:45 PDT 2014 armv7l armv7l armv7l GNU/Linux

This shows you are running the "tegra-ubuntu" Linux 3.10.24 kernel that includes support for PREEMPT and armv7l.

Show the total & available RAM memory

free -m

You want to look at the "-/+ buffers/cache" line, not the "Mem" line. For example, if "free -m" shows this:

total used free shared buffers cached

Mem: 1746 462 1283 0 23 147 -/+ buffers/cache: 291 1455

Swap: 0 0 0

Then you have a total of 1746 MB (~1.7 GB) RAM, and using around 291 MB thus have around 1455 MB free and are not using any swap space.

Show some details about the CPU

lscpu

Architecture: armv7l

Byte Order: Little Endian CPU(s): 4 On-line CPU(s) list: 0 Off-line CPU(s) list: 1-3 Thread(s) per core: 1 Core(s) per socket: 1

Socket(s): 1

This shows you have quad-core CPU ARMv7 CPU (and currently just using 1 core of the 4 available cores).

Show the disk partitions

sudo parted -l

If it asks you to fix the space available in the GPT table, just hit I to ignore.

Error: /dev/mmcblk0rpmb: unrecognised disk label

Warning: Not all of the space available to /dev/mmcblk0 appears to be used, you can fix the GPT to use all of the space (an extra 4063 blocks) or continue with the current setting? Fix/Ignore? i Model: MMC SEM16G (sd/mmc) Disk /dev/mmcblk0: 15.8GB Sector size (logical/physical): 512B/512B Partition Table: gpt

Number Start End Size File system Name Flags 1 25.2MB 8615MB 8590MB ext3 APP hidden, msftdata 2 8615MB 8619MB 4194kB DTB hidden, msftdata 3 8619MB 8686MB 67.1MB EFI hidden, msftdata 4 8686MB 8691MB 4194kB USP hidden, msftdata 5 8691MB 8695MB 4194kB TP1 hidden, msftdata 6 8695MB 8699MB 4194kB TP2 hidden, msftdata 7 8699MB 8703MB 4194kB TP3 hidden, msftdata

8 8703MB 15.8GB 7053MB UDA hidden, msftdata

This shows your storage is MMC (an eMMC solid-state chip) of 15.8GB total size, with 8 disk partitions where the first partition is an 8.59 GB partition that is formatted as ext3 (Linux). The other partitions are small partitions used for flashing, except the last partition that is 7GB in size.

Show the disk space usage

df -h

Filesystem Size Used Avail Use% Mounted on

/dev/root 7.8G 2.1G 5.4G 28% / devtmpfs 850M 8.0K 850M 1% /dev none 4.0K 0 4.0K 0% /sys/fs/cgroup none 175M 624K 175M 1% /run none 5.0M 0 5.0M 0% /run/lock none 874M 0 874M 0% /run/shm

none 100M 0 100M 0% /run/user

This shows your 7.8GB root partition is only 28% used up, you still have 5.4GB left on it.

Show the running processes

top

top - 01:44:05 up 57 min, 2 users, load average: 0.00, 0.01, 0.05

Tasks: 138 total, 10 running, 128 sleeping, 0 stopped, 0 zombie %Cpu(s): 3.6 us, 6.3 sy, 0.0 ni, 90.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st KiB Mem: 1788136 total, 480200 used, 1307936 free, 27056 buffers KiB Swap: 0 total, 0 used, 0 free. 154956 cached Mem

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 1988 ubuntu 20 0 4620 1192 784 R 6.7 0.1 0:01.66 top 8 root 20 0 0 0 0 S 2.9 0.0 0:04.08 rcu_preempt

801 kernoops 20 0 4648 844 592 S 0.3 0.0 0:01.78 kerneloops

This shows that the 2 processes using the most CPU resources are this program "top" (using 6.7% of the CPU) as well as "rcu_preempt" (using 2.9% of the CPU). Hit 'q' to quit top.

Show the PCI devices and which kernel drivers they are using

lspci -v | grep -e ^0 -e driver

00:00.0 PCI bridge: NVIDIA Corporation Device 0e13 (rev a1) (prog-if 00 [Normal decode])

Kernel driver in use: pcieport 01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0c)

Kernel driver in use: r8169

This shows there is an NVIDIA PCIe port and a Realtek Gigabit Ethernet LAN port using the r8169 driver.

Show the USB devices

lsusb

Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

This shows there are 3 x USB2.0 hubs being used. Jetson TK1 actually has a USB3.0 hub, but the drivers for USB3.0 are not configured here and thus they are detected as USB2.0 instead of USB3.0.