Home » TX1入门教程基础篇 » TX1入门教程基础篇-系统检查

TX1入门教程基础篇-系统检查

TX1入门教程基础篇-系统检查

说明:

  • 如何检查L4T系统各种系统参数

检查:

  • 查看Jetson TX1 L4T版本:
head -n 1 /etc/nv_tegra_release
  • 效果如下:
# R24 (release), REVISION: 2.1, GCID: 8028265, BOARD: t210ref, EABI: aarch64, DATE: Thu Nov 10 03:51:59 UTC 2016
  • 查看系统版本:
cat /etc/lsb-release
  • 效果如下:
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04 LTS"
  • 查看系统位数(32/64),显示是64位
getconf LONG_BIT
  • 查看kernel内核:
uname -a
  • 效果:
Linux tegra-ubuntu 3.10.96-tegra #1 SMP PREEMPT Wed Nov 9 19:42:57 PST 2016 aarch64 aarch64 aarch64 GNU/Linux
  • 查看内存:
free -m
  • 效果:
              total        used        free      shared  buff/cache   available
Mem:           3994         629        2829          11         535        3295
Swap:             0           0           0
  • 查看CPU详情:
lscpu
  • 效果:
Architecture:          aarch64
Byte Order:            Little Endian
CPU(s):                4
On-line CPU(s) list:   0-3
Thread(s) per core:    1
Core(s) per socket:    1
Socket(s):             4
Model name:            ARMv8 Processor rev 1 (v8l)
CPU max MHz:           1734.0000
CPU min MHz:           102.0000
  • 查看硬盘分区:
sudo parted -l
  • 如果它要求您修复GPT表中的可用空间,只需点击I即可忽略。
  • 效果:
ubuntu@tegra-ubuntu:~$ sudo parted -l
[sudo] password for ubuntu: 
Error: /dev/mmcblk0rpmb: unrecognised disk label
Warning: Error fsyncing/closing /dev/mmcblk0rpmb: Input/output error                                                         
Retry/Ignore? I                                                           
Model: Generic SD/MMC Storage Card (sd/mmc)
Disk /dev/mmcblk0rpmb: 4194kB
Sector size (logical/physical): 512B/512B
Partition Table: unknown
Disk Flags: 

Model: MMC 016G32 (sd/mmc)
Disk /dev/mmcblk0: 15.8GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags: 

Number  Start   End     Size    File system  Name  Flags
 1      17.4kB  15.0GB  15.0GB  ext4         APP   msftdata
 2      15.0GB  15.0GB  2097kB               TBC   msftdata
 3      15.0GB  15.0GB  4194kB               EBT   msftdata
 4      15.0GB  15.0GB  2097kB               BPF   msftdata
 5      15.0GB  15.0GB  6291kB               WB0   msftdata
 6      15.0GB  15.1GB  4194kB               RP1   msftdata
 7      15.1GB  15.1GB  6291kB               TOS   msftdata
 8      15.1GB  15.1GB  2097kB               EKS   msftdata
 9      15.1GB  15.1GB  2097kB               FX    msftdata
10      15.1GB  15.1GB  21.0MB               SOS   msftdata
11      15.1GB  15.1GB  67.1MB               EXI   msftdata
12      15.1GB  15.2GB  67.1MB               LNX   msftdata
13      15.2GB  15.2GB  4194kB               DTB   msftdata
14      15.2GB  15.2GB  2097kB               NXT   msftdata
15      15.2GB  15.2GB  6291kB               MXB   msftdata
16      15.2GB  15.2GB  6291kB               MXP   msftdata
17      15.2GB  15.2GB  2097kB               USP   msftdata
18      15.2GB  15.8GB  520MB                UDA   msftdata
  • 这表明您的存储是总共15.8GB的MMC(eMMC固态芯片)
  • 查看硬盘空间
df -h
  • 效果:
ubuntu@tegra-ubuntu:~$ df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/mmcblk0p1   14G   13G  565M  96% /
none            2.0G     0  2.0G   0% /dev
tmpfs           2.0G  124K  2.0G   1% /dev/shm
tmpfs           2.0G  9.3M  2.0G   1% /run
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
tmpfs           2.0G     0  2.0G   0% /sys/fs/cgroup
tmpfs           400M   48K  400M   1% /run/user/1000
  • 这显示你的14G根分区96%用完了,你还剩下565M。
  • 查看正在运行的进程:
top
  • 效果:
top - 08:45:38 up 24 min,  3 users,  load average: 0.09, 0.34, 0.36
Tasks: 200 total,   1 running, 199 sleeping,   0 stopped,   0 zombie
%Cpu(s):  1.6 us,  0.7 sy,  0.0 ni, 97.7 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
KiB Mem :  4090604 total,  2889820 free,   644244 used,   556540 buff/cache
KiB Swap:        0 total,        0 free,        0 used.  3375100 avail Mem 

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND    
 1354 ubuntu    20   0  844860  83016  45640 S   5.9  2.0   2:54.46 compiz     
 2086 ubuntu    20   0    8884   1812   1220 R   1.6  0.0   0:00.16 top        
  110 root      rt   0       0      0      0 S   1.0  0.0   0:28.86 cfinteract+
 2078 root      20   0       0      0      0 S   1.0  0.0   0:02.60 kworker/0:0
  819 redis     20   0   31008   1576    776 S   0.7  0.0   0:10.89 redis-serv+
 2052 root      20   0       0      0      0 S   0.7  0.0   0:00.39 kworker/1:0
    3 root      20   0       0      0      0 S   0.3  0.0   0:00.59 ksoftirqd/0
    8 root      20   0       0      0      0 S   0.3  0.0   0:04.13 rcu_preempt
   32 root      20   0       0      0      0 S   0.3  0.0   0:00.78 kworker/3:1
   94 root     -51   0       0      0      0 S   0.3  0.0   0:02.25 irq/189-gk+
  332 root      20   0       0      0      0 S   0.3  0.0   0:00.95 dhd_watchd+
  333 root     -51   0       0      0      0 S   0.3  0.0   0:01.80 dhd_dpc    
  830 root      20   0 3276700  27528  13720 S   0.3  0.7   0:10.44 Xorg     
  • 查看PCI设备具体的驱动

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

  • 查看USB设备

lsusb
  • 效果:
ubuntu@tegra-ubuntu:~$ lsusb
Bus 002 Device 003: ID 05e3:0616 Genesys Logic, Inc. hub
Bus 002 Device 002: ID 0955:09ff NVidia Corp. 
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 008: ID 045e:02c2 Microsoft Corp. Kinect for Windows NUI Motor
Bus 001 Device 006: ID 25a7:0701  
Bus 001 Device 005: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC
Bus 001 Device 004: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP210x UART Bridge / myAVR mySmartUSB light
Bus 001 Device 003: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  • Jetson TX1实际上有一个USB3.0集线器,但是USB3.0的驱动程序在这里没有配置,因此它们被检测为USB2.0而不是USB3.0。
  • 有一个Kinect v1 深度相机 Kinect for Windows
  • Kobuki 底盘 FT232 USB-Serial

纠错,疑问,交流: 请进入讨论区点击加入Q群

获取最新文章: 扫一扫右上角的二维码加入“创客智造”公众号


标签: tx1入门教程基础篇