250x250
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
Tags
- nvidia
- boot process
- meta-tegra
- camera
- breakpoints
- cpu temperature
- linux
- server error
- bluetoothd
- cpu 점유율 출력
- HPD
- valgrind
- /dev/kmsg
- libargus
- yocto
- libargus api
- nvarguscamerasrc
- orin nx
- VisionWorks
- l4t
- RDEPENDS
- ssd 포맷
- LAYERS
- lineedit
- bitbake
- Jetson
- mkfs.ext4
- gcc7
- bash
- cpu frequency
Archives
- Today
- Total
목록cpu 점유율 출력 (1)
DREAMER
[Bash] CPU 온도 값을 출력하는 bash shell
NVIDIA Jetson Nano는 "/sys/devices/virtual/thermal/thermal_zone0/temp"의 값을 읽어서 CPU 온도를 알 수 있다. 10초마다 log파일에 기록하여 온도 변화를 관찰하였다. 또한 온도 변화에 따른 nvargus-daemon의 CPU 점유율을 파악하기 위해 함께 작성하였다. 1초 간격으로 현재 시간 로그파일로 저장 #!/bin/sh LOG=temperature LOGDIR=$(pwd)/$LOG LOGFILE=$(date +"%y_%m_%d"_$LOG) NOW=$(date +"%T") if [ ! -d $LOGDIR ];then mkdir $LOGDIR fi for (( ; ; )) do NOW=$(date +"%T") echo [ $NOW ] >> $LO..
프로그래밍/Linux
2023. 5. 31. 11:39