Check CPU / GPU / memory usage in Ubuntu, NVIDIA_TX2

A, the Ubuntu
1, CPU, memory
1) top command
$ top
2) more intuitive tools htop
$ sudo apt-get install htop $ htop
2, GPU
with nivida-smi command,
$ NVIDIA-SMI
This command displays only once, if real-time display, with the watch command, n- It is followed by an seconds
$ watch -n 1 nvidia-smi
two, TX2
. 1, memory
$ Free -m
2, the kernel
$ the uname -a
. 3, USB device
$ lsusb
. 4, CPU
$ htop the install the sudo APT-GET
$ htop
5, gpu usage
$ sudo ~ / tegrastates
must add sudo, otherwise the information displayed is not complete, the list of parameters:
RAM: memory usage
CPU: cpu utilization, TX2 has six cores, showed no nuclear occupancy
EMC - external memory controller, the external memory controller, the unit% @ MHz Bus
the AVP - audio / video processor, TX2 ASIC carrying audio and video processor units% @ MHz processor
NVDEC - the NVIDIA video Decoder Engine, TX2 with the video encoding hevc accelerator,% MHz
GR3D - GPU, processor, GPU clock speed,% MHz
. 6, the server view graphics method
NVIDIA TX2 onboard graphics, the GPU view sudo method ~ / tegrastats, but not on other server cards with
NVIDIA carrying a nvidia- smi command-line tool that displays memory usage:
$ nvidia-smi
results can only output once, during training can periodically perform the nvidia-smi command, the basic usage watch:
$ watch [Options] the command
commonly used parameter -n, specify the number of seconds to perform a command
Third, the installation jetson-stats monitoring and control boards Jetson
Jetson-states is a software package for monitoring and controlling boards Jetson, after installing jetson-states comprising jtop, jetson-release, jetson_variable.
1, the installation command
sudo -H PIP3 stats install Jetson-
2, an updated version of
sudo -H PIP3 install -U States Jetson-
3, JTop
it is a system monitoring utility that runs on the terminal, you can view and control your NVIDIA real time Jetson state, such as CPU, RAM, GPU frequency and status ...
the sudo JTop
Here Insert Picture Description
four different options:
. 1) ALL
It contains the board all of the above information, including: CPU state, memory, GPU, disk, fan and all states on jetson_clock of, NVPmodel and OTHER
2) GPU
on NVIDIA Jetson real-time GPU
3) CTRL
status you can control
4) INFO
library , CUDA, Serial Number, interface information of all
other available -h option, execute the command: sudo JTop -h
Here Insert Picture Description
4, Jetson-releas
this command displays the status of your NVIDIA Jetson and all the information.
Here Insert Picture Description
5, jetson_varibles
this script to generate a simple environment variables to know which is the hardware version of Jetson, and the Jetpack which is already installed.
Here Insert Picture Description

Released four original articles · won praise 8 · views 9125

Guess you like

Origin blog.csdn.net/u012254599/article/details/101194004