Difference between revisions of "Jetson/Jetson TK1 System Info"

From eLinux.org
Jump to: navigation, search
(Created the Jetson TK1 System Info page. (Haven't finished the formatting))
 
(Formatted the Jetson TK1 System Info page)
Line 1: Line 1:
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.
+
This page shows potential Jetson TK1 buyers 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 in the blue box, and you should see the output shown in the black box.
  
==== Show which version of Ubuntu it is ====
+
 
 +
==== Show which version of Ubuntu this is ====
 
  cat /etc/lsb-release
 
  cat /etc/lsb-release
<blockquote>DISTRIB_ID=Ubuntu
+
<pre style="margin-left:50px; color:#B0B0B0; background-color:#111111; white-space:pre-wrap;">
 +
DISTRIB_ID=Ubuntu
 
DISTRIB_RELEASE=14.04
 
DISTRIB_RELEASE=14.04
 
DISTRIB_CODENAME=trusty
 
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04 LTS"</blockquote>
+
DISTRIB_DESCRIPTION="Ubuntu 14.04 LTS"</pre>
 
This shows you are basically running Ubuntu 14.04 ("LTS" long-term-support version).
 
This shows you are basically running Ubuntu 14.04 ("LTS" long-term-support version).
 +
 +
  
 
==== Show which kernel is running ====
 
==== Show which kernel is running ====
 
  uname -a
 
  uname -a
<blockquote>Linux tegra-ubuntu 3.10.24-g6a2d13a #1 SMP PREEMPT Fri Apr 18 15:56:45 PDT 2014 armv7l armv7l armv7l GNU/Linux</blockquote>
+
<pre style="margin-left:50px; color:#B0B0B0; background-color:#111111; white-space:pre-wrap;">
 +
Linux tegra-ubuntu 3.10.24-g6a2d13a #1 SMP PREEMPT Fri Apr 18 15:56:45 PDT 2014 armv7l armv7l armv7l GNU/Linux</pre>
 
This shows you are running the "tegra-ubuntu" Linux 3.10.24 kernel that includes support for PREEMPT and armv7l.
 
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 ====
 
==== Show the total & available RAM memory ====
 
  free -m
 
  free -m
 
You want to look at the "-/+ buffers/cache" line, not the "Mem" line. For example, if "free -m" shows this:
 
You want to look at the "-/+ buffers/cache" line, not the "Mem" line. For example, if "free -m" shows this:
<blockquote>             total      used      free    shared    buffers    cached
+
<pre style="margin-left:50px; color:#B0B0B0; background-color:#111111; white-space:pre-wrap;">
Mem:          1746        462      1283          0        23        147
+
                total      used      free    shared    buffers    cached
-/+ buffers/cache:        291      1455
+
    Mem:          1746        462      1283          0        23        147
Swap:            0          0          0</blockquote>
+
    -/+ buffers/cache:        291      1455
 +
    Swap:            0          0          0</pre>
 
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.
 
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 ====
 
==== Show some details about the CPU ====
 
  lscpu
 
  lscpu
<blockquote>Architecture:          armv7l
+
<pre style="margin-left:50px; color:#B0B0B0; background-color:#111111; white-space:pre-wrap;">
 +
Architecture:          armv7l
 
Byte Order:            Little Endian
 
Byte Order:            Little Endian
 
CPU(s):                4
 
CPU(s):                4
Line 32: Line 41:
 
Thread(s) per core:    1
 
Thread(s) per core:    1
 
Core(s) per socket:    1
 
Core(s) per socket:    1
Socket(s):            1</blockquote>
+
Socket(s):            1</pre>
 
This shows you have quad-core CPU ARMv7 CPU (and currently just using 1 core of the 4 available cores).
 
This shows you have quad-core CPU ARMv7 CPU (and currently just using 1 core of the 4 available cores).
 +
  
 
==== Show the disk partitions ====
 
==== Show the disk partitions ====
 
  sudo parted -l
 
  sudo parted -l
 
If it asks you to fix the space available in the GPT table, just hit I to ignore.
 
If it asks you to fix the space available in the GPT table, just hit I to ignore.
<blockquote>Error: /dev/mmcblk0rpmb: unrecognised disk label
+
<pre style="margin-left:50px; color:#B0B0B0; background-color:#111111; white-space:pre-wrap;">
 
+
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
+
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?
the current setting?
 
 
Fix/Ignore? i
 
Fix/Ignore? i
 
Model: MMC SEM16G (sd/mmc)
 
Model: MMC SEM16G (sd/mmc)
Line 49: Line 58:
 
Partition Table: gpt
 
Partition Table: gpt
  
Number Start  End    Size    File system  Name  Flags
+
Number Start  End    Size    File system  Name  Flags
 
1      25.2MB  8615MB  8590MB  ext3        APP  hidden, msftdata
 
1      25.2MB  8615MB  8590MB  ext3        APP  hidden, msftdata
 
2      8615MB  8619MB  4194kB              DTB  hidden, msftdata
 
2      8615MB  8619MB  4194kB              DTB  hidden, msftdata
Line 57: Line 66:
 
6      8695MB  8699MB  4194kB              TP2  hidden, msftdata
 
6      8695MB  8699MB  4194kB              TP2  hidden, msftdata
 
7      8699MB  8703MB  4194kB              TP3  hidden, msftdata
 
7      8699MB  8703MB  4194kB              TP3  hidden, msftdata
8      8703MB  15.8GB  7053MB              UDA  hidden, msftdata</blockquote>
+
8      8703MB  15.8GB  7053MB              UDA  hidden, msftdata</pre>
 
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.
 
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 ====
 
==== Show the disk space usage ====
 
  df -h
 
  df -h
<blockquote>Filesystem      Size  Used Avail Use% Mounted on
+
<pre style="margin-left:50px; color:#B0B0B0; background-color:#111111; white-space:pre-wrap;">
 +
Filesystem      Size  Used Avail Use% Mounted on
 
/dev/root      7.8G  2.1G  5.4G  28% /
 
/dev/root      7.8G  2.1G  5.4G  28% /
 
devtmpfs        850M  8.0K  850M  1% /dev
 
devtmpfs        850M  8.0K  850M  1% /dev
Line 69: Line 80:
 
none            5.0M    0  5.0M  0% /run/lock
 
none            5.0M    0  5.0M  0% /run/lock
 
none            874M    0  874M  0% /run/shm
 
none            874M    0  874M  0% /run/shm
none            100M    0  100M  0% /run/user</blockquote>
+
none            100M    0  100M  0% /run/user</pre>
 
This shows your 7.8GB root partition is only 28% used up, you still have 5.4GB left on it.
 
This shows your 7.8GB root partition is only 28% used up, you still have 5.4GB left on it.
 +
  
 
==== Show the running processes ====
 
==== Show the running processes ====
 
  top
 
  top
<blockquote>top - 01:44:05 up 57 min,  2 users,  load average: 0.00, 0.01, 0.05
+
<pre style="margin-left:50px; color:#B0B0B0; background-color:#111111; white-space:pre-wrap;">
 +
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
 
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
 
%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
Line 80: Line 93:
 
KiB Swap:        0 total,        0 used,        0 free.  154956 cached Mem
 
KiB Swap:        0 total,        0 used,        0 free.  154956 cached Mem
  
PID USER      PR  NI    VIRT    RES    SHR S %CPU %MEM    TIME+ COMMAND
+
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
 
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
+
  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</blockquote>
+
801 kernoops  20  0    4648    844    592 S  0.3  0.0  0:01.78 kerneloops</pre>
 
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).
 
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.
 
Hit 'q' to quit top.
 +
  
 
==== Show the PCI devices and which kernel drivers they are using ====
 
==== Show the PCI devices and which kernel drivers they are using ====
 
  lspci -v | grep -e ^0 -e driver
 
  lspci -v | grep -e ^0 -e driver
<blockquote>00:00.0 PCI bridge: NVIDIA Corporation Device 0e13 (rev a1) (prog-if 00 [Normal decode])
+
<pre style="margin-left:50px; color:#B0B0B0; background-color:#111111; white-space:pre-wrap;">
 +
00:00.0 PCI bridge: NVIDIA Corporation Device 0e13 (rev a1) (prog-if 00 [Normal decode])
 
         Kernel driver in use: pcieport
 
         Kernel driver in use: pcieport
 
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0c)
 
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0c)
         Kernel driver in use: r8169</blockquote>
+
         Kernel driver in use: r8169</pre>
 
This shows there is an NVIDIA PCIe port and a Realtek Gigabit Ethernet LAN port using the r8169 driver.
 
This shows there is an NVIDIA PCIe port and a Realtek Gigabit Ethernet LAN port using the r8169 driver.
 +
  
 
==== Show the USB devices ====
 
==== Show the USB devices ====
 
  lsusb
 
  lsusb
<blockquote>Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
+
<pre style="margin-left:50px; color:#B0B0B0; background-color:#111111; white-space:pre-wrap;">
 +
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 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</blockquote>
+
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub</pre>
 
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.
 
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.

Revision as of 07:39, 7 June 2014

This page shows potential Jetson TK1 buyers 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 in the blue box, and you should see the output shown in the black box.


Show which version of Ubuntu this 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.