TX2 有关配置参数的查看

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/m0_37167788/article/details/88825358

https://blog.csdn.net/slzlincent/article/details/86558719

系统安装时默认的发行版本信息

cat /etc/*release

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04 LTS"
# R28 (release), REVISION: 2.1, GCID: 11272647, BOARD: t186ref, EABI: aarch64, DATE: Thu May 17 07:29:06 UTC 2018
....
一大堆.so
....
NAME="Ubuntu"
VERSION="16.04 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04 LTS"
VERSION_ID="16.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
UBUNTU_CODENAME=xenial

查看内存显存使用情况

cat /proc/meminfo | grep Mem

MemTotal:        8042796 kB
MemFree:         3526892 kB
MemAvailable:    5257840 kB
NvMapMemFree:     872092 kB
NvMapMemUsed:     373748 kB

查看Jetson TX2 L4T版本

head -n 1 /etc/nv_tegra_release

# R28 (release), REVISION: 2.1, GCID: 11272647, BOARD: t186ref, EABI: aarch64, DATE: Thu May 17 07:29:06 UTC 2018

查看系统版本:

cat /etc/lsb-release

查看系统内核:

uname -a

Linux tegra-ubuntu 4.4.38-tegra #1 SMP PREEMPT Thu May 17 00:15:19 PDT 2018 aarch64 aarch64 aarch64 GNU/Linux

查看内存

free -m

    total        used        free      shared  buff/cache   available
Mem:           7854        2688        3310          65        1855        5011
Swap:             0           0           0
nvidia@tegra-ubuntu:~$ lscpu
Architecture:          aarch64
Byte Order:            Little Endian
CPU(s):                6
On-line CPU(s) list:   0-5
Thread(s) per core:    1
Core(s) per socket:    3
Socket(s):             2
Model name:            ARMv8 Processor rev 3 (v8l)
CPU max MHz:           2035.2000
CPU min MHz:           345.6000
Hypervisor vendor:     horizontal
Virtualization type:   full
L1d cache:             32K
L1i cache:             48K
L2 cache:              2048K

查看cpu

lscpu

查看操作系统是 32 位还是 64 位

dpkg --print-architecture

查看内存状态

sudo ./tegrastats

RAM – 内存占用
cpu – 当然就是CPU占用率了,TX2一共6个核
EMC – external memory controller, 外存控制器 单位 bus%@MHz
AVP – audio/video processor, TX2 自带的音频视频ASIC处理器 单位 processor%@MHz
VDE – video decoder engine, TX2 带有视频编解码hevc的加速器 %MHz
GR3D – GPU, processor, GPU的主频 %@MHz

查看硬盘分区

sudo parted -l

查看硬盘空间

df -h

查看进程

top

样例

海面模拟demo

cd /home/nvidia/NVIDIA_CUDA-9.0_Samples/bin/aarch64/linux/release/
./oceanFFT

车辆识别(需要运行几分钟,耐心等待)

cd /home/nvidia/tegra_multimedia_api/samples/backend
 
./backend 1 ../../data/Video/sample_outdoor_car_1080p_10fps.h264 H264 --trt-deployfile ../../data/Model/GoogleNet_one_class/GoogleNet_modified_oneClass_halfHD.prototxt --trt-modelfile ../../data/Model/GoogleNet_one_class/GoogleNet_modified_oneClass_halfHD.caffemodel --trt-forcefp32 0 --trt-proc-interval 1 -fps 10
展开阅读全文

没有更多推荐了,返回首页