< >
Home » Xavier入门教程基础篇 » Xavier入门教程基础篇-查看系统和软件版本参数状态

Xavier入门教程基础篇-查看系统和软件版本参数状态

Xavier入门教程基础篇--查看系统和软件版本参数状态

说明:

  • 介绍如何查看Xavier系统和软件版本和参数
  • 测试Xavier版本:Jetpack4.2.3

步骤:

  • 查看架构
sudo apt-cache show nvidia-jetpack
  • 查看Jetson Xavier L4T版本
ubuntu@AiROS:~$ head -n 1 /etc/nv_tegra_release
# R32 (release), REVISION: 2.3, GCID: 17644089, BOARD: t186ref, EABI: aarch64, DATE: Tue Nov  5 21:48:17 UTC 2019
  • 查看TensorRT的版本
ubuntu@AiROS:~$ dpkg -l | grep TensorRT
ii  graphsurgeon-tf                               5.1.6-1+cuda10.0                                arm64        GraphSurgeon for TensorRT package
ii  libnvinfer-dev                                5.1.6-1+cuda10.0                                arm64        TensorRT development libraries and headers
ii  libnvinfer-samples                            5.1.6-1+cuda10.0                                all          TensorRT samples and documentation
ii  libnvinfer5                                   5.1.6-1+cuda10.0                                arm64        TensorRT runtime libraries
ii  python-libnvinfer                             5.1.6-1+cuda10.0                                arm64        Python bindings for TensorRT
ii  python-libnvinfer-dev                         5.1.6-1+cuda10.0                                arm64        Python development package for TensorRT
ii  python3-libnvinfer                            5.1.6-1+cuda10.0                                arm64        Python 3 bindings for TensorRT
ii  python3-libnvinfer-dev                        5.1.6-1+cuda10.0                                arm64        Python 3 development package for TensorRT
ii  tensorrt                                      5.1.6.1-1+cuda10.0                              arm64        Meta package of TensorRT
ii  uff-converter-tf                              5.1.6-1+cuda10.0                                arm64        UFF converter for TensorRT package
  • 查看系统版本
ubuntu@AiROS:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04.3 LTS"
  • 查看系统l内核:
ubuntu@AiROS:~$ uname -a
Linux AiROS 4.9.140-tegra #1 SMP PREEMPT Tue Nov 5 13:37:19 PST 2019 aarch64 aarch64 aarch64 GNU/Linux
  • 查看内存:
ubuntu@AiROS:~$ free -m
              total        used        free      shared  buff/cache   available
Mem:          15690        2630        3852          82        9207       12921
Swap:          7845           0        7845
  • 查看CPU
ubuntu@AiROS:~$ lscpu
Architecture:         aarch64
Byte Order:           Little Endian
CPU(s):               8
On-line CPU(s) list:  0-3
Off-line CPU(s) list: 4-7
Thread(s) per core:   1
Core(s) per socket:   2
Socket(s):            2
Vendor ID:            Nvidia
Model:                0
Model name:           ARMv8 Processor rev 0 (v8l)
Stepping:             0x0
CPU max MHz:          2265.6001
CPU min MHz:          115.2000
BogoMIPS:             62.50
L1d cache:            64K
L1i cache:            128K
L2 cache:             2048K
L3 cache:             4096K
Flags:                fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp
  • 查看硬盘空间
ubuntu@AiROS:~$ df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/mmcblk0p1   28G   12G   15G  44% /
none            7.7G     0  7.7G   0% /dev
tmpfs           7.7G   10M  7.7G   1% /dev/shm
tmpfs           7.7G   56M  7.7G   1% /run
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
tmpfs           7.7G     0  7.7G   0% /sys/fs/cgroup
tmpfs           1.6G  148K  1.6G   1% /run/user/1000
  • 查看cuda版本
ubuntu@AiROS:~$ /usr/local/cuda/bin/nvcc -V
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2019 NVIDIA Corporation
Built on Mon_Mar_11_22:13:24_CDT_2019
Cuda compilation tools, release 10.0, V10.0.326
  • 查看cudnn版本
ubuntu@AiROS:~$ cat /usr/include/cudnn.h | grep CUDNN_MAJOR -A 2
#define CUDNN_MAJOR 7
#define CUDNN_MINOR 5
#define CUDNN_PATCHLEVEL 0
--
#define CUDNN_VERSION (CUDNN_MAJOR * 1000 + CUDNN_MINOR * 100 + CUDNN_PATCHLEVEL)

#include "driver_types.h"
  • 查看opencv版本
ubuntu@AiROS:~$ pkg-config --modversion opencv
3.3.1
  • 查看python版本
ubuntu@AiROS:~$ python -V 
Python 2.7.15+
  • 查看python3版本
ubuntu@AiROS:~$ python3 -V 
Python 3.6.9

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

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


标签: xavier入门教程基础篇